关于tabview的一些小问题

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];// 点击方法里加以下方法选中之后颜色自动变回
posted @ 2016-03-02 11:26  骗人的孩纸  阅读(205)  评论(0编辑  收藏  举报