- (void)viewDidLoad
{
[super viewDidLoad];
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7) {
// self.view.frame=CGRectMake(0,20,self.view.frame.size.width,self.view.frame.size.height-20);
self.headerView.frame=CGRectMake(0,20,320,45);
}
但是headerview没有改变任何人都可以帮助