-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
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
如何设置只带图片,右边不带文字的返回按钮,我设置title为空之后,但是自己的图片位置偏左 #184
Comments
这是个普遍问题,请搜索其它资料解决。通常有 runtime,BaseViewController 等方法。 |
我在baseViewController 实现了此处代码,但是侧滑的手势没有响应
|
在viewDidLoad中实现:self.navigationController.navigationBar.topItem.title = @""; |
代码
[super viewDidLoad];
// Do any additional setup after loading the view.
[self setupSubviews];
// self.hbd_barShadowHidden = YES;
// self.hbd_barTintColor = [UIColor whiteColor];
self.hbd_barAlpha = 0.0;
self.hbd_barStyle = UIBarStyleBlack;
self.hbd_tintColor = UIColor.whiteColor;
self.hbd_barShadowHidden = YES;
self.title = @"";
}
The text was updated successfully, but these errors were encountered: