简体   繁体   中英

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.

Let me know if this answer help you ..

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM