I put a UIScrollView in my nib\'s view, and linked it to a an IBOutlet property.
UIScrollView
view
IBOutlet
Now, when I do this in my viewDidLoad>
viewDidLoad>
The easiest/cleanest way is to set contentSize at viewDidAppear so you negate the effects of autolayout. This doesn't involve adding random views. However relying on load order for an implementation to work may not be the best idea.