iOS开发--改变tableHeaderView的高度

时间:2015-08-09 22:10:46   收藏:0   阅读:529

1.先获取tableHeaderView

2.设置它的frame

3.将该view设置回tableview

 

UIView *view=tableView. tableHeaderView;
view.frame=newFrame;
tableView. tableHeaderView =view; 

 

ref:http://www.cocoachina.com/bbs/read.php?tid-115251-page-1.html

原文:http://www.cnblogs.com/feiling/p/4716256.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!