Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scaling for multiple devices

So I am creating an app that will be released in the App Store available for iPhone 4/4s and iPhone 5.

In my project I am using storyboard for the interface.
At the moment not every object is able to aline perfect with the objects above so when I for example test on iphone 4 every thing gets messed up.

How can I fix the place of the object.

Do I have to hardcode this? Or can I use storyboard for this.

like image 441
Florian Schaal Avatar asked Feb 22 '26 01:02

Florian Schaal


1 Answers

I think autolayout should suffice in most cases. You can check out a comprehensive tutorial here: http://floatlearning.com/2012/11/designing-for-multiple-screens-in-ios/

like image 65
allprog Avatar answered Feb 25 '26 00:02

allprog



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!