简体   繁体   English

当我在UISplitViewController中将iPad转到纵向模式时,调整detailViewController的pagecontrolview的大小

[英]Resize the pagecontrolview of detailViewController when i turn iPad to Portrait mode in UISplitViewController

我正在UISplitViewController上工作,我的宽度为700的详细视图中有一个pageController,在页面控制器上添加了一些imageViews,当我将iPad转到纵向模式时,如何调整pageController的大小,以便使imageViews也适合宽度768。

You can be use the autoresizing mask. 您可以使用自动调整大小蒙版。 And when you properly use autoresizingMask then that view controller will be resize automatically when you change the orientation. 并且当您正确使用autoresizingMask时,更改方向时该视图控制器将自动调整大小。

Let me know if this answer help you .. 让我知道这个答案是否对您有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 UISplitViewController调整iPad大小 - UISplitViewController resize iPad 如何在纵向模式下制作UISplitViewController? - How to make a UISplitViewController in portrait mode? 在纵向和横向模式下自动调整iPhone / iPad画廊的图像大小 - Auto image resize for iPhone/iPad gallery in portrait & landscape mode Ipad在横向模式下和iphone在纵向模式下 - Ipad in landscape mode and iphone in portrait mode 在纵向模式下更改 UISplitViewController 中的详细信息导航栏 - Changing Detail's Navigation Bar in UISplitViewController in Portrait mode 在 iPad 中设置纵向和横向模式的启动图像 - Setting splash images for portrait and landscape mode in iPad 始终在ipad中以纵向模式打开视图? - Always open a view in portrait mode in view in ipad? 在iOS中将图像从纵向调整为横向模式 - Resize images from portrait to landscape mode in iOS iPad兼容模式下的iPhone应用程序在横向上有奇怪的布局(我强迫肖像) - iPhone app on iPad compatibility mode has strange layout in landscape (while I force portrait) UISplitViewController:在iPhone上的detailViewController中导航后显示masterViewController - UISplitViewController: Show masterViewController after navigation in detailViewController on iPhone
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM