导航栏按钮返回
来源:互联网 发布:金属脚镣淘宝 编辑:程序博客网 时间:2024/05/16 12:24
UIButton *_isussebtn;
_isussebtn = [UIButtonbuttonWithType:UIButtonTypeRoundedRect];
_isussebtn.frame = CGRectMake(0, 0, 20, 20);
[_isussebtn setImage:[UIImageimageNamed:@"Return"]forState:UIControlStateNormal];
_isussebtn.titleLabel.font = [UIFontsystemFontOfSize:18];
[_isussebtn addTarget:selfaction:@selector(backbtn)forControlEvents:UIControlEventTouchUpInside];
//添加到导航条
UIBarButtonItem *rightitem = [[UIBarButtonItemalloc]initWithCustomView:_isussebtn];
self.navigationItem.leftBarButtonItem = rightitem;
}
@interface chatViewController ()<RCIMUserInfoDataSource,UIGestureRecognizerDelegate>
-(void)backbtn{
//[self.navigationController dismissViewControllerAnimated:YES completion:nil];
[self.navigationControllerpopViewControllerAnimated:YES];
}
- 导航栏按钮返回
- 隐藏导航栏返回按钮
- 隐藏导航栏返回按钮
- iOS导航栏返回按钮
- 修改导航栏返回按钮
- 自定义导航栏返回按钮
- 自定义导航栏返回按钮
- 自定义导航栏返回按钮
- 自定义导航栏上的返回按钮
- 定制导航栏的返回按钮
- 定制导航栏的返回按钮
- 定制导航栏的返回按钮
- 定制导航栏的返回按钮
- 自定义导航栏上的返回按钮
- 定制导航栏的返回按钮
- 修改导航栏返回按钮的文字
- iOS 更改导航栏返回按钮文字
- iOS自定义导航栏的返回按钮
- vb通讯录,外接sql数据库
- Unity3D 物体移动方式总结
- 路由案例
- ajsx的收集整理和记录--缓存问题
- SQL的CONCAT()多个字段连接——拓展使用update批处理一个字段
- 导航栏按钮返回
- 多线程同步锁是谁
- JavaWeb--初学者的一点认识和想法(1)
- 设计模式之一:单例模式
- 羊毛党大揭秘:一亿手机黑卡在手 半年撸垮上市公司
- Tensorflow实现VGGNet
- Android:自动点击屏幕
- Android 最简单实现广告轮播效果ConvenientBanner
- 目前流行的开源监控框架有哪些