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
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