ios - SWRevealviewcontroller 嵌套 ViewController

标签 ios swift viewcontroller swrevealviewcontroller

我有一个问题: 我在我的应用程序中使用 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/

相关文章:

ios - Parse 框架和 iOS 7 的问题

Swift:守卫 let 与 if let

ios - 向 UINavigationItem 添加按钮根本不起作用

ios - 从主视图切换到其他 View

ios - 如何呈现 TabBarController 模态

objective-c - 从核心数据实体中获取特定记录

objective-c - 尝试访问 iOS 商店时出错

ios - 如何从库及其地址列表中进行符号化?

swift - 在 Swift 中将 TapGestureRecognizer 添加到 UILabel

ios - 当我在我的一个文件夹中创建一个新的 viewController 时,该 Controller 包含在一个名为 : ctive-C 的文件夹中