修改状态栏滚动视图偏移

2020-11-23  本文已影响0人  喜剧收尾_XWX
if (@available(iOS 11.0, *)) {
        self.welcomeScrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
    } else {
        self.automaticallyAdjustsScrollViewInsets = NO;
    }
上一篇下一篇

猜你喜欢

热点阅读