放入视图控制器时 UISplitView 弹出按钮不显示
我采用了苹果标准示例 MultiDetailView,并在应用程序委托和分割视图控制器之间添加了一个通用视图控制器。
window > view controller > UISplitViewController
就代码而言,我只是在通用视图控制器子类中进行更改
[window addSubview:splitView.view];
,
[window addSubview:viewController.view];
但是
[self.view addSubview:splitView.view];
,这样做会使标准的左侧弹出按钮在纵向视图中消失。
如何让标准左侧弹出按钮再次出现?
I took the apple standard example, MultiDetailView and just added a generic view controller in between the app delegate and the split view controller.
window > view controller > UISplitViewController
In terms of code, I just change from
[window addSubview:splitView.view];
to
[window addSubview:viewController.view];
and within the generic view controller subclass
[self.view addSubview:splitView.view];
However, the act of doing so makes the standard left popup button to disappear in portrait view.
How do I get the standard left popup button to appear again?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论