File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
LTHPasscodeViewController Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -516,6 +516,12 @@ - (void)viewWillAppear:(BOOL)animated {
516516}
517517
518518
519+ - (void )viewWillLayoutSubviews {
520+ [super viewWillLayoutSubviews ];
521+ _animatingView.frame = self.view .bounds ;
522+ }
523+
524+
519525- (void )viewWillDisappear : (BOOL )animated {
520526 // If _isCurrentlyOnScreen is true at this point,
521527 // it means the back button was tapped, so we need to reset.
@@ -1805,7 +1811,7 @@ - (void)statusBarFrameOrOrientationChanged:(NSNotification *)notification {
18051811 */
18061812 [self rotateAccordingToStatusBarOrientationAndSupportedOrientations ];
18071813 if (LTHiOS8) {
1808- _animatingView.frame = self.view .frame ;
1814+ _animatingView.frame = self.view .bounds ;
18091815 }
18101816 else {
18111817 if (UIInterfaceOrientationIsPortrait ([UIApplication sharedApplication ].statusBarOrientation )) {
You can’t perform that action at this time.
0 commit comments