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,119
  • 4
  • 42
  • 73

2 Answers2

0

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

DrummerB
  • 39,275
  • 12
  • 103
  • 141
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,636
  • 8
  • 29
  • 43