解决办法:
frame来源不正常,从直接在viewDidLoad方法中设置的frame,改为
- (void)viewDidLayoutSubviews { [super viewDidLayoutSubviews]; CGFloat SCREEN_WIDTH = [UIScreen mainScreen].bounds.size.width; CGFloat height = SCREEN_WIDTH * 0.65; CGRect headerViewFrame = CGRectMake(0, -height, SCREEN_WIDTH, height); self.headerView.frame = headerViewFrame; }