Created
January 6, 2015 22:14
-
-
Save steipete/5622e0a7e6dd60957a08 to your computer and use it in GitHub Desktop.
Revisions
-
steipete created this gist
Jan 6, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ // This ensures that the automaticallyAdjustsScrollViewInsets magic works // On our newly added view controller as well. // This triggers _layoutViewController which then triggers // _computeAndApplyScrollContentInsetDeltaForViewController: // which finally updates our content inset of the scroll view (if any) // rdar://19053416 [self.navigationController.view setNeedsLayout];