UISplitview 无法用 UIInterfaceOrientation~ipad 显示完整
我
<key>UIInterfaceOrientation~ipad</key>
<string>UIInterfaceOrientationLandscapeRight</string>
在 Info.plist 中
添加了当我运行应用程序时,应用程序无法显示完整。
为什么以及如何在 UISplitview 中填充到右栏?
I added
<key>UIInterfaceOrientation~ipad</key>
<string>UIInterfaceOrientationLandscapeRight</string>
in Info.plist
When I run the app, app can't show full.
Why and how to make full to rightbar in UISplitview ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您确定未将详细视图设置为主视图吗?
从你的截图来看就是这样的。
您可能想将(这也可能是一个问题)更改
为:
Are you sure that the Detail View isn't setup as a Master view?
Thats what it looks like from your screenshot.
and you might want to change (which could also be an issue):
to:
我遇到了一个非常类似的问题,这是因为我对 UISplitViewController 进行了子类化,并意外地覆盖了 私有方法
detailViewController
。I had a very similar problem and it is because I had subclassed
UISplitViewController
and accidentally overridden the private methoddetailViewController
.