解决方式1: self.tableView.tableHeaderView = [[UIView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, self.tableView.bounds.size.width, 0.01f)]; 解决方式2: self.tableView.contentInset = UIEdgeInsetsMake(-30 , 0 , 0 , 0); 解决方式3: self.automaticallyAdjustsScrollViewInsets = NO;