我有一个问题:
我在我的应用程序中使用 SWRevealviewcontroller
作为菜单。这是移动商店应用程序,此菜单中有主屏幕
、帐户屏幕
、购物车
和其他
。帐户屏幕是一个带有 TableView 的 Controller ,它还有几个选项,例如登录、创建帐户等。 SWrevealviewcontroller
仅适用于第一个 Controller ,嵌套在该 Controller 中的其他带有 TableView 的 Controller 无法看到 revealviewcontroller
。当我使用“Show”segue
时,它会出现,但是当我使用SWRevealviewcontrollerPushController
时,它会崩溃
(I implemented manual trigerring and the error is, that viewController with table view doesn't recognize segue with ID )
有什么帮助吗?
最佳答案
已解决:) 我设置了 Show segue,然后将类更改为 SWRevealViewControllerPushController。 但我想知道为什么当我在创建 segue 时选择 SWRevealViewControllerPushController 时它不起作用?
关于ios - SWRevealviewcontroller 嵌套 ViewController,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36543245/