Browse Source

Hide the large title

master
mac-user669 4 years ago
parent
commit
4943957ea3
1 changed files with 22 additions and 0 deletions
  1. +22
    -0
      zenithdarkprefs/ZNDarkPrefsRootListController.m

+ 22
- 0
zenithdarkprefs/ZNDarkPrefsRootListController.m View File

@@ -22,6 +22,28 @@
}


// Hide Large Title
- (void)viewDidLoad {
[super viewDidLoad];

if (@available(iOS 11, *)) {
self.navigationController.navigationBar.prefersLargeTitles = false;
self.navigationController.navigationItem.largeTitleDisplayMode =
UINavigationItemLargeTitleDisplayModeNever;
}
}

- (void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];

if (@available(iOS 11, *)) {
self.navigationController.navigationBar.prefersLargeTitles = false;
self.navigationController.navigationItem.largeTitleDisplayMode =
UINavigationItemLargeTitleDisplayModeNever;
}
}
// End of "Hide Large Title"

//share button action
- (void)shareTapped {

Loading…
Cancel
Save