1

I am working on adjusting all my iPhone screens to the new iPhone 5 4" screen. To make the code easier to manage i would like to use an NSObject class to do this that calls on a ViewController to move a button or whatever needs to be moved.

Would someone please give me some hints how to accomplish this or if there is a better way of doing this.

PeterK
  • 4,243
  • 4
  • 44
  • 74

2 Answers2

0

I recommend you look into using Auto Layout. It will do everything you need.

DrummerB
  • 39,814
  • 12
  • 105
  • 142
0

If you are talking about autoresizing then i am sure the shared link will work Autoresizing masks programmatically vs Interface Builder / xib / nib

you can resize your button and view programmatically as well as using interface builder.

Community
  • 1
  • 1
subhash kumar singh
  • 2,716
  • 8
  • 31
  • 43