We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be95a53 commit 4307383Copy full SHA for 4307383
ViewDeck/IIViewDeckController.m
@@ -823,7 +823,10 @@ - (void)loadView
823
_offset = 0;
824
_viewFirstAppeared = NO;
825
_viewAppeared = 0;
826
+
827
self.view = II_AUTORELEASE([[IIViewDeckView alloc] init]);
828
+ if ([[self presentingViewController] isKindOfClass:[UINavigationController class]])
829
+ [((IIViewDeckView*)self.view) setNeedsOffsetAdjustment];
830
self.view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
831
self.view.autoresizesSubviews = YES;
832
self.view.clipsToBounds = YES;
0 commit comments