首页 > 其他 > 详细

关于tabview的一些小问题

时间:2016-03-02 13:07:33      阅读:188      评论:0      收藏:0      [点我收藏+]

tableview中的cell和底下的线

1 // 刷新指定行数据
2 NSIndexPath *indexPath=[NSIndexPath indexPathForRow:0 inSection:0];
3 [tab reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath,nil]  withRowAnimation:UITableViewRowAnimationNone];
1 self.tableView.separatorStyle = UITableViewCellSelectionStyleNone; // 取消分割线
2 Cell.selectionStyle = UITableViewCellEditingStyleNone; // 选中不变色
3 [tableView deselectRowAtIndexPath:indexPath animated:NO];// 点击方法里加以下方法选中之后颜色自动变回

关于tabview的一些小问题

原文:http://www.cnblogs.com/bishuai/p/5234248.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!