有时候想在UITableViewCell中加内容,但又不想要cell的边框出现,其实我们可以设置cell的backgroundView,这样就可以去除边框。
cell.backgroundView = [[[UIView alloc] initWithFrame:CGRectZero] autorelease];
本文介绍如何在UITableViewCell中通过设置backgroundView来去除边框,实现美观且实用的效果。
有时候想在UITableViewCell中加内容,但又不想要cell的边框出现,其实我们可以设置cell的backgroundView,这样就可以去除边框。
cell.backgroundView = [[[UIView alloc] initWithFrame:CGRectZero] autorelease];

被折叠的 条评论
为什么被折叠?