ios8 - iOS 8 中最新的几种跳转方式有什么区别
巴扎黑
巴扎黑 2017-04-17 14:29:13
0
3
277

iOS现在使用的show和show detail等segue之间切换的时候有什么区别吗?而这几种方式又与iOS7以前使用的push、model等有什么区别呢?还是说iOS8的这几种segue跳转方式和push、model相比只是换汤不换药?

巴扎黑
巴扎黑

reply all(3)
阿神

As you said, "Changing the soup does not change the medicine", just changing the name.

Then try the animation effect and you will know~

巴扎黑

No one answered so let me answer. First of all, let me say that I have never used segue.
Our development is based on a combination of xib and pure code. Most of them use push, which is equivalent to a stack. It is also easier to jump.
Most of the apps I've seen use the push and present methods.
Segue should be a jump to using storyboard for development. I personally feel that storyboard is not suitable for team development.
I may not answer the question correctly, it's just my personal opinion.

PHPzhong
  1. I found that show and showDetail methods can launch UINavigationController, but using push will directly crash

  2. It can be said that there is a difference that show can be launched to inherit UIViewController and all its subclasses (excluding UITabBarController, UINavigationController).

  3. Use the show method to jump to another UITabBarController. UINavigationController is actually modal

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!