1.cel与cell之间的间距
解决方法就是再定制一个空白的cell这样,空白cell就是cell之间的间距
2.UITableViewCell 与导航条间距
UITableView 的 cell 默认出现在 uitableview 的第一行,如果你想自定义 UITableViewCell 与导航条间距的话,可以使用下面这行代码 tableview.tableHeaderView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, 5, 2)
UITableView 的 cell 默认出现在 uitableview 的第一行,如果你想自定义 UITableViewCell 与导航条间距的话,可以使用下面这行代码
tableview.tableHeaderView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, 5, 20)]autorelease];
3.uitableview中cell自适应高度;
通过计算detaillabel之间的高度 [label sizetofit] 然后在heightforrow中调用cellforrow方法就可以动态加载它的高度;
4.