iOS: better Safari rotation recovery, though still not perfect

This commit is contained in:
David Sinclair 2015-11-11 13:43:22 -08:00
parent 9b0b1a7693
commit 1d3e3ca9bb

View file

@ -1402,6 +1402,7 @@
}
- (void)safariViewControllerDidFinish:(SFSafariViewController *)controller {
[self.storyPageControl performSelector:@selector(reorientPages) withObject:nil afterDelay:0.2];
controller.delegate = nil;
[controller dismissViewControllerAnimated:YES completion:nil];
}