简体   繁体   中英

iPad size class not showing iPhone size call elements and constraints iOS

I've a project where pervious developer has built whole app UI in universal storyboard, but has only added UI elements and constraints for iPhone size class.
So when I run app on iPad it shows nothing. Storyboard also not showing anything for iPad size classes when I change it from iPhone to iPad using this: 在此处输入图片说明

I found a way to add UI elements to iPad size classes by installing it to universal size classes by clicking Installed button:

在此处输入图片说明

And can add constraints using this:

在此处输入图片说明

But I need do this for each and every UI element and every constraint. Is there any other way to handle this?

You can decide to have a constraint installed for all sizes or not installed at all, or you can specify for which sizes you want the constraints to be installed, but then you need to choose the ones yourself. You can shift or command select several at once and then set the installed properties for all the selected ones together.

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