简体   繁体   中英

Adaptive storyboard (fit lots of buttons onto all devices correctly)

I have been trying to figure out how to get my app to look good on all apple devices. I will say I made this app very quickly and was not thinking about how it would look on different devices when I was making it. I was just having a good time making it. Until now, since it only looks good on the iPhone 6s, which is what I was testing it on the whole time. This is the basic layout of my app: 在此处输入图片说明

Is there any way to format this without starting completely over or is it just too much of a mess to fix?

Thanks, Austin

Use Autolayout. That is what it's for. You don't have to start over; you just need to add proper constraints to all your elements so that they do the right sort of thing when the app launches on a larger or smaller screen.

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