MJRefresh在iphoneX上底部一直显示上拉提示

appdelegate的didFinishLaunchingWithOptions里设置:

if (@available(iOS 11.0, *)) {
    [[UIScrollView appearance] setContentInsetAdjustmentBehavior:UIApplicationBackgroundFetchIntervalNever];
    [[UITableView appearance] setEstimatedRowHeight:0.f];
    [[UITableView appearance] setEstimatedSectionHeaderHeight:0.f];
    [[UITableView appearance] setEstimatedSectionFooterHeight:0.f];
}

你可能感兴趣的:(MJRefresh在iphoneX上底部一直显示上拉提示)