iOS: #1154 (iPad size issue)

See discussion in previous comment on the issue. Sam, you can decide whether to accept this change, which seems reasonable to me, or live with rare sites borking the app, or perhaps ask for help from Apple DTS.
This commit is contained in:
David Sinclair 2019-02-26 14:40:14 -08:00
parent 3d61e34e38
commit 311469e968

View file

@ -1779,6 +1779,7 @@
} else if ([storyBrowser isEqualToString:@"inappsafari"]) {
self.safariViewController = [[SFSafariViewController alloc] initWithURL:url];
self.safariViewController.delegate = self;
self.safariViewController.modalPresentationStyle = UIModalPresentationPageSheet;
[navigationController presentViewController:self.safariViewController animated:YES completion:nil];
} else if ([storyBrowser isEqualToString:@"inappsafarireader"]) {
self.safariViewController = [[SFSafariViewController alloc] initWithURL:url entersReaderIfAvailable:YES];