iOS 取消 UITableView 向下偏移状态栏高度 Vergil_wj 2019-12-30 2,424 阅读1分钟 iOS 隐藏导航栏后,取消 UITableView 向下偏移状态栏高度 if (@available(iOS 11.0, *)) { self.tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever; } else { self.automaticallyAdjustsScrollViewInsets = NO; }