修改返回按钮

This commit is contained in:
xuemh
2018-04-03 00:32:12 +08:00
parent 5fc026ffd0
commit c9935f3186
13 changed files with 17 additions and 15 deletions
@@ -23,7 +23,7 @@
-(void)setNav{
UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
btn.frame = CGRectMake(2, 5,47, 44);
[btn setBackgroundImage:[UIImage imageNamed:@"arrow_l"] forState:UIControlStateNormal];
[btn setBackgroundImage:[UIImage imageNamed:@"back_btn"] forState:UIControlStateNormal];
[btn addTarget: self action: @selector(goBackAction) forControlEvents: UIControlEventTouchUpInside];
UIBarButtonItem*back=[[UIBarButtonItem alloc]initWithCustomView:btn];