mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
iOS: #1213 (status bar in browser when full-screen)
- Reproduced by scrolling a story to go full-screen, double-click to show the Safari browser view, interactively go partially back, then scroll in the browser. - Now shows the navigation bar when using the browser, since the browser shows it, so they’re consistent.
This commit is contained in:
parent
7b0590ace4
commit
66f34998bb
1 changed files with 2 additions and 0 deletions
|
@ -1886,6 +1886,7 @@
|
|||
} else if ([storyBrowser isEqualToString:@"inappsafari"]) {
|
||||
self.safariViewController = [[SFSafariViewController alloc] initWithURL:url];
|
||||
self.safariViewController.delegate = self;
|
||||
[self.storyPageControl setNavigationBarHidden:NO];
|
||||
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
|
||||
self.safariViewController.modalPresentationStyle = UIModalPresentationPageSheet;
|
||||
}
|
||||
|
@ -1893,6 +1894,7 @@
|
|||
} else if ([storyBrowser isEqualToString:@"inappsafarireader"]) {
|
||||
self.safariViewController = [[SFSafariViewController alloc] initWithURL:url entersReaderIfAvailable:YES];
|
||||
self.safariViewController.delegate = self;
|
||||
[self.storyPageControl setNavigationBarHidden:NO];
|
||||
[navigationController presentViewController:self.safariViewController animated:YES completion:nil];
|
||||
} else {
|
||||
if (!originalStoryViewController) {
|
||||
|
|
Loading…
Add table
Reference in a new issue