UITableView 的 cell 默认出现在 uitableview 的第一行,如果你想自定义 UITableViewCell 与导航条间距的话,可以使用下面这行代码
tableview.tableHeaderView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, 5, 20)]autorelease];
tableview.tableHeaderView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, 5, 20)]autorelease];
本文介绍如何在iOS开发中自定义UITableView的cell与导航条间距,通过使用tableHeaderView属性实现个性化布局。
5276

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



