ios7 UITableView底线右移

在ios7上UITableView底线右移了,我们可以通过添加代码来让它铺满整个屏幕的宽,在使用前要加上判断是否有这个方法

if ([_tableView respondsToSelector:@selector(setSeparatorInset:)]) {
    [_tableView setSeparatorInset:UIEdgeInsetsZero];
}

 

 
posted @ 2014-02-20 17:44  菜鸟程序猿  阅读(165)  评论(0编辑  收藏  举报