if #available(iOS 11.0, *) { self.videoCollectionView.contentInsetAdjustmentBehavior = .never }else{ self.automaticallyAdjustsScrollViewInsets = false//往下偏移20(电池条的高度) }
本文共 251 字,大约阅读时间需要 1 分钟。
if #available(iOS 11.0, *) { self.videoCollectionView.contentInsetAdjustmentBehavior = .never }else{ self.automaticallyAdjustsScrollViewInsets = false//往下偏移20(电池条的高度) }
转载于:https://my.oschina.net/wayzhu/blog/2963168