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