简体   繁体   中英

Storyboard viewcontroller resize

i just copy and paste all the view from iPhone storyboard and paste it on iPad storyboard,everything works fine but the base view from every view controller was locked and couldn't resize.any idea on this?

the property to adjust width,height,x,y was turn to grey and unclick-able.

you need to go to your project file in xcode -> summary tab -> ipad deployment info -> main storyboard. set that to your storyboard file. it should cause all your viewcontrollers to resize to the ipad size.

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