I have discovered a strange behavior in my application, where a connected IBOutlet has its connected view\'s frame between the calls in my view controller to
IBOutlet
call
self.scrollView.layoutIfNeeded()
in your viewWillAppear method. Afterwards you can access it's frame and it will have the same value as you print in viewDidAppear
viewWillAppear
viewDidAppear