Skip to content

Commit c93479d

Browse files
committed
Fixed layout issues in iOS 9 after coming back from playing a video
1 parent 187bbce commit c93479d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Pod/Classes/MWPhotoBrowser.m

+3
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,9 @@ - (void)viewWillAppear:(BOOL)animated {
369369
if (_currentPageIndex != _pageIndexBeforeRotation) {
370370
[self jumpToPageAtIndex:_pageIndexBeforeRotation animated:NO];
371371
}
372+
373+
// Layout
374+
[self.view setNeedsLayout];
372375

373376
}
374377

0 commit comments

Comments
 (0)