Jessica Root Jessica Root - 4 years ago 148
iOS Question

Buttons Width getting stretched while using autolayout in iPad screens?

I have a screen and i am using autolayout for the design purpose. The screen adjusts pretty well for all the screens in iPhone but in iPad the buttons get stretched a little making it weird to look . How to adjusts the autolayout for this? Below is my screenshot:

iPhone screen

iPad Screen

Answer Source

It depends what you want to achive f.e you can set aspect ratio of first button (as I can see rest of them are equal width equal hight to it) to 1:1 and they wont streach but it will mess up your view. It depends how you want them to look on ipads without streaching them.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download