Right now I have 2 view controllers in my app. They both use UIViews and UIButtons, and I have gone to the Size Inspector in the Storyboard and changed their width and height values, and for some I have even changed the X and Y values.
Everything looks perfect on my iPhone 4s, but I just realized that these values I have set might not be correct for other devices like the iPhone 3 or iPhone 5 models.
Here's an example of the values I have added for one of my UIViews:
- X: 0
- Y: 0
- Width: 320
- Height: 568
Here's an example of the values I have added for one of my UIButtons that I wanted to perfectly center in the middle of the screen:
- X: 139
- Y: 224
- Width: 41
- Height: 30
Do I have anything to worry about in terms of these storyboard elements looking distorted or being misplaced and in the wrong part of the screen on different iPhone models? Should I be doing something differently like creating them programmatically?
I just want to make sure that what looks correct for my iPhone won't look terrible on a user's iPhone when the app is released, and I won't have access to any different iPhone models until a week from now.
Thanks for the help.