`
niCe
  • 浏览: 40509 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

设置 UITableViewCell 与导航条间距

 
阅读更多

 UITableView 的 cell 默认出现在 uitableview 的第一行,如果你想自定义 UITableViewCell 与导航条间距的话,可以使用下面这行代码

 

  tableview.tableHeaderView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, 5, 20)]autorelease]; 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics