首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

UITableView除开separator

2013-07-20 
UITableView去除separator在使用UITableView的时候会遇到出现许多无用的separator的情况,若想解决这个问题

UITableView去除separator
在使用UITableView的时候会遇到出现许多无用的separator的情况,若想解决这个问题,只需将table view的footer设为一个空的view。例如:


[cpp] view plaincopyprint?

    UIView *v = [[UIView alloc] initWithFrame:CGRectZero]; 

    [tableView setTableFooterView:v]; 

热点排行