Sfoglia il codice sorgente

Hide the large title

master
mac-user669 4 anni fa
parent
commit
4943957ea3
1 ha cambiato i file con 22 aggiunte e 0 eliminazioni
  1. +22
    -0
      zenithdarkprefs/ZNDarkPrefsRootListController.m

+ 22
- 0
zenithdarkprefs/ZNDarkPrefsRootListController.m Vedi 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…
Annulla
Salva