I am building an app, exclusively for iPhones and it only has a Portrait view. I have never used autolayout before and I don't think I have time to learn it now. Can I use anything else, to have my views resize themselves for the devices(iphone 4s, 5/5s, 6/6+)?
Asked
Active
Viewed 64 times
0
-
Information in this link may help you -http://stackoverflow.com/questions/10468389/uiview-autoresizingmask-interface-builder-to-code-programmatically-create-st – Vijay Masiwal May 15 '15 at 05:45
-
You can manually set the size, and position for each view for all the iPhone sizes but that will be very tiring. – Natasha May 15 '15 at 06:18
1 Answers
3
Remove the autolayout and sizeclasses
And use autoresizing form utilities
You can also do it by code :
view.autoresizingMask = (UIViewAutoresizingFlexibleWidth |
UIViewAutoresizingFlexibleLeftMargin);

Ashish Kakkad
- 23,586
- 12
- 103
- 136