如果你的样式是UITableViewStylePlain
self.automaticallyAdjustsScrollViewInsets=NO;可与解决这个问题
如果你的样式是UITableViewStyleGrouped上面的空白的部分用
self.automaticallyAdjustsScrollViewInsets=NO;这个方法解决不了。
tablview 回滚到最上面的一句话
[self.detailTab setContentOffset:CGPointMake(0, 0) animated:YES];