Auto Layout in iOS 6: Adding constraints through code

Auto Layout in iOS 6: Adding constraints through code

iOS 6 brings a new feature to design your user interface: Auto Layout. With Auto-Layout it is easier to design the UI for multiple screen sizes and also for multiple languages. You can can use Auto Layout within Interface Builder, altough you must be very careful not to mess up your constraints by accidently moving a UI component on the view. So for this tutorial, we are defining our constraints through code. 

Read More