【发布时间】:2016-03-31 02:44:10
【问题描述】:
我的应用程序中有一个delete 函数,我需要从那里返回 2 个屏幕,然后重新加载一个表格。该表将重新加载正常,但如果我使用segue,那么我的navigationcontroller 将退出sync。当用户点击 button 时,有没有办法向后移动 2 个屏幕?
我已经尝试过了,但我收到了一个错误:
self.navigationController!.popToRootViewControllerAnimated(true)
Error: #0 0x00000001004465dc in specialized
_fatalErrorMessage(StaticString, StaticString, StaticString, UInt) -> () () Thread1 EXC_BREAKPOINT (Code 1, subcode 0x1004465dc)
我有一个UITabBarController 和一个RootViewController,想回到我打开应用程序时使用的初始屏幕。
【问题讨论】:
-
“我收到一个错误” 哦,真的吗?您想透露您遇到的什么错误吗?
标签: ios iphone uinavigationcontroller swift2