How to make auto-resize work on iPhone X and 4S

Hi I am starting new on swift and have been walking my way through constraints and auto resize. I am having one slight issue while auto resizing. See below how my UI buttons stack up.


iPhone 8 Plus, iPhone 8, iPhone SE all look same and aligned perfect


iPhone X – Image appears stretched


iphone 4S – Image appears compressed inward


All I did was for each button, I set autoresizing as seen below


Is there a way I can make iPhone X maintain same image aspect ratios?



Powered by WPeMatico


You may also like...

Comments are closed.