We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
接口:
@interface UINavigationItem (AXExtension) /** 隐藏返回按钮的标题 */ - (void)ax_hideBackBarButtonTitle; /** 隐藏返回按钮(同时也不能右划返回) */ - (void)ax_hideBackBarButton; @end
实现:
@implementation UINavigationItem (AXExtension) /** 隐藏返回按钮的标题 */ - (void)ax_hideBackBarButtonTitle{ self.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"" style:UIBarButtonItemStylePlain target:nil action:nil]; } /** 隐藏返回按钮(同时也不能右划返回) */ - (void)ax_hideBackBarButton{ self.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"" style:UIBarButtonItemStylePlain target:nil action:nil]; } @end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
接口:
实现:
The text was updated successfully, but these errors were encountered: