迅速改变观点

时间:2015-04-30 22:43:45

标签: swift

我为Apple Watch制作了一个应用程序(“Apple Watch for Apple Watch”),它使用以下代码:

pushControllerWithName("SumsInterfaceController", context: type)

我想知道Swift的iPhone版本是否有类似的代码?

1 个答案:

答案 0 :(得分:0)

导航控制器

navigationController?.pushViewController(viewController, animated: true)

有关详细信息,请查看this

对于Segue检查thisthis

相关问题