ios - SideMenuController 不适用于某些 View

标签 ios swift

我正在使用SideMenuController ,并且该菜单仅在某些 View 中有效。 “菜单”按钮在所有 View 中均可单击,但侧面菜单仅在某些 View 中出现。这有什么具体原因吗?我错过了什么吗?

最佳答案

self.navigationController?.addSideMenuButton() 添加到所需的 ViewController 就可以了。

关于ios - SideMenuController 不适用于某些 View ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50005534/

相关文章:

ios - 尝试呈现...其 View 不在窗口层次结构中

ios - 使用 ScrollView 时将对象保持在适当的位置

xcode - Swift 属性 - 避免对 n 个类进行多个声明?

ios - 没有导航 Controller 的 pushViewController

swift - 在异步网络请求中捕获 self weak 或 unowned

ios - MPVolumeView Airplay 仅在镜像时触摸

ios - 更新到版本 8 后,Xcode 在 AppDelegate 中显示多个警告?

ios - 实现 App Transport Security 的最佳方式是什么?

ios - 将 iPhone 模拟器复制到剪贴板不起作用

iphone - self 执行选择器 :withObject: afterDelay: does not call method