UITableView技巧之去除UITableViewCell边框

有时候想在UITableViewCell中加内容,但又不想要cell的边框出现,其实我们可以设置cell的backgroundView,这样就可以去除边框。
cell.backgroundView = [[[UIView alloc] initWithFrame:CGRectZero] autorelease]; 

猜你喜欢

转载自southking.iteye.com/blog/1747588
今日推荐