tableView的常用设置方法
来源:互联网 发布:嫁给大山的女人知乎 编辑:程序博客网 时间:2024/05/18 03:33
*/下面我给大家介绍下tableView里面一些常用方法*/
//*************设置标题
self.title = @"联系人";
//**************设置标题栏不透明度
self.navigationControler.navigationBar.translucent = NO;
//**************设置设置背景颜色
self.backgroundColor =[WebColor black];
//************设置导航栏按钮颜色
self.navigationControler.navigationBar.tintColor = [UIColor redColor];
//************设置导航栏按钮(左右)两种方法
self.navigationItem.leftBarButtonItem = [[[UIBarButton alloc] initWithTitle:"编辑" style:UIBarButtonItemStyleBordered target:self action:@selector(click:)]autorease];
self.navigationItem.rightBarButtonItem = [[[UIBarButton alloc] initWithTitle:"编辑" style:UIBarButtonItemStyleBordered target:self action:@selector(click:)]autorease];
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:_button1];
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:_button1];//************设置行高
self.rowHeight = 100;
//************设置分割线颜色
self.separatorInset = [UIColor greenColor];
//*************导航栏不能越界(更改透明度)
self.navigationController.navigationBar.translucent = NO;
//*************设置偏移坐标
self.separatorInset = UIEdgeInsetsMake(0, 0, 0, 0);
- tableView的常用设置方法
- tableview的一些常用方法
- TableView常用设置和遇到的问题
- QT TableView 常用设置
- QT TableView 常用设置
- QT TableView 常用设置
- tableView 的一些常用属性,方法
- tableView 不常用的方法 左划
- tableView - 常用代理方法
- 分group的tableview 的初始设置方法
- tableview的细节设置
- 设置tableView的背景图片
- 设置tableView的颜色
- TableView的相关设置
- tableView的separatorInset设置
- TableView 的方法详解
- tableView的一些方法
- tableview的调用方法
- 转:关于对中颖EEPROM 的操作解析
- 用Grunt管理Nodejs项目
- Android 编程下的代码混淆
- 常见贴片元件封装
- NAND / NOR Flash read / write speed reference
- tableView的常用设置方法
- C的学习前三节笔记
- 简单的加密算法
- LINUX进程内存占用查看方法
- hive 优化
- 这世界那么大这城市那么空
- C++的坑真的多吗?
- 滴滴打车的产品设计黑魔法
- PHP----养成面向对象的好习惯