在分割视图中,当应用程序以横向模式启动时,如何调整屏幕视图
我正在分割视图控制器的纵向模式下显示主视图和详细视图, 我没有使用弹出窗口来显示主视图,就像大多数 hte ipad 应用程序显示的那样...
当我的应用程序以横向模式启动时,我面临方向问题,我无法调整它来查看
i am displaying master view and detail view in portrait mode of split view controller ,
i hav not used the pop up window to show master view as like most of hte ipad apps showing...
i am facing issue with orientation when my app is launching in land scape mode i cannot able to adjust that to view
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
宽度是固定的
http://developer. apple.com/library/ios/#documentation/general/conceptual/iPadProgrammingGuide/UserInterface/UserInterface.html
the width is fixed
http://developer.apple.com/library/ios/#documentation/general/conceptual/iPadProgrammingGuide/UserInterface/UserInterface.html
在开箱即用的 UISplitView 中,宽度是固定的。
或者,您可以使用
MGSplitViewController
它是一个自定义 SplitViewController,其功能之一是宽度自定义。可以在这里找到:http://github.com/mattgemmell/MGSplitViewController
In the out of the box UISplitView the width is fixed.
Alterntively you could use the
MGSplitViewController
it is a Custom SplitViewController and one of the features is width customisation.It can be Found here: http://github.com/mattgemmell/MGSplitViewController
仅 UIImageView 还是整个视图?
我遇到了 UIImageViews 的问题,然后我解决了它:
Interface Builder -> UIImageView 大小检查器 ->自动调整大小
选择所有外部条形并取消选择所有内部条形。
希望它会有所帮助:)
Only the UIImageView or the whole view ?
I faced the problem with my UIImageViews , then I solved it like :
Interface Builder -> UIImageView Size Inspector -> Autosizing
Select all the Outer Bars and Un-Select all the inner bars.
Hope it will help :)