We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 551a753 commit 99542e8Copy full SHA for 99542e8
NXNavigationExtension/Private/NXNavigationExtensionInternal.m
@@ -636,6 +636,15 @@ - (void)nx_configureNavigationBarWithNavigationController:(__kindof UINavigation
636
}
637
638
639
+ // 导航栏全透明或者导航栏 Disabled 的时候返回按钮隐藏
640
+ if (self.nx_translucentNavigationBar || self.nx_systemNavigationBarUserInteractionDisabled) {
641
+ UIBarButtonItem *backButton = self.navigationItem.leftBarButtonItem;
642
+ if (backButton && [backButton isKindOfClass:[NXBackButtonItem class]]) {
643
+ self.navigationItem.leftBarButtonItem = nil;
644
+ }
645
+ return;
646
647
+
648
// 使用系统返回按钮时移除自定义返回按钮
649
if (self.nx_useSystemBackButton) {
650
UIBarButtonItem *backButton = self.navigationItem.leftBarButtonItem;
0 commit comments