wkwebView iOS11下偏移20个像素

2018-02-07  本文已影响885人  泽小记

if (@available(iOS 11.0, *)) {

        UIScrollView.appearance.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;

    } else {

        self.automaticallyAdjustsScrollViewInsets = NO;

    }

上一篇下一篇

猜你喜欢

热点阅读