diff --git a/NYTPhotoViewer/NYTPhotosViewController.m b/NYTPhotoViewer/NYTPhotosViewController.m index cfb27751..3d39d739 100644 --- a/NYTPhotoViewer/NYTPhotosViewController.m +++ b/NYTPhotoViewer/NYTPhotosViewController.m @@ -156,11 +156,11 @@ - (void)viewWillLayoutSubviews { CGRect frame = self.view.bounds; if (self.underStatusBar) { - CGFloat statusBarHeight = [UIApplication sharedApplication].statusBarFrame.size.height;; + CGFloat statusBarHeight = [UIApplication sharedApplication].statusBarFrame.size.height; frame.origin.y = statusBarHeight; frame.size.height -= statusBarHeight; } - self.pageViewController.view.frame = frame; + self.pageViewController.view.frame = self.view.bounds; // frame; self.overlayView.frame = frame; }