在分割视图中,当应用程序以横向模式启动时,如何调整屏幕视图

发布于 2024-09-26 17:55:29 字数 120 浏览 1 评论 0原文

我正在分割视图控制器的纵向模式下显示主视图和详细视图, 我没有使用弹出窗口来显示主视图,就像大多数 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

趁微风不噪 2024-10-03 17:55:29

在开箱即用的 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

淡看悲欢离合 2024-10-03 17:55:29

仅 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 :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文