[英]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.