简体   繁体   中英

different layout for iPad air 2 and iPad pro

I use size class wR hR for adjusting the layout for iPad. It turns out fine for iPad air 2 but still not satisfactory for iPad pro. It is very big. I don't know how to further refine the constraints for iPad pro.

Any thought about it?

The iPad Pro is also wR hR , so you're not going to be able to differentiate by any change in Interface Builder. If you want things to be different on the iPad Pro, you'll have to make those adjustments in code based on the screen 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