Explorar el Código

Hide the large title

master
mac-user669 hace 4 años
padre
commit
4943957ea3
Se han modificado 1 ficheros con 22 adiciones y 0 borrados
  1. +22
    -0
      zenithdarkprefs/ZNDarkPrefsRootListController.m

+ 22
- 0
zenithdarkprefs/ZNDarkPrefsRootListController.m Ver fichero

@@ -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 {

Cargando…
Cancelar
Guardar