[英]XCODE 5 - Storyboard Segues Push vs Modal
I am currently learning iOS development and I began with a simple Tabbed Application. 我目前正在学习iOS开发,并且从一个简单的选项卡式应用程序开始。 It has the default First and Second View in it.
它具有默认的“第一视图”和“第二视图”。 I added a TableView with static cells content.
我添加了带有静态单元格内容的TableView。 I then added another View Controller.
然后,我添加了另一个视图控制器。 I created a Segue using the storyboard.
我使用情节提要创建了Segue。 When I set the transition to modal, it works fine.
当我将过渡设置为模态时,它可以正常工作。 When I set it to push, the app is crashing (Uncaught exception).
当我将其设置为push时,应用程序崩溃了(未捕获的异常)。
想通了..我需要添加一个导航控制器才能使用推...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.