Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是一名 iphone 应用程序开发人员。我将使用故事板。
我想在不单击按钮的情况下相互推动 ViewController。我能得到解决方案吗?谢谢!
performSegueWithIdentifier:sender:如果一切都已经在界面生成器中设置,您也可以使用。您需要在属性检查器中指定“标识符”。
performSegueWithIdentifier:sender:
你可以 :
从其他视图控制器呈现视图控制器
从情节提要中获取所需的视图控制器:
实例化ViewControllerWithIdentifier: