Open shanyanhai opened 6 years ago
提个 issues作者更新了通知一下 暂时在 public func addPullToRefresh(handler: @escaping ESRefreshHandler) -> ESRefreshHeaderView { //添加了 if #available(iOS 11.0, *) {//防止刷新位置错误 base.contentInsetAdjustmentBehavior = .never let statusRect = UIApplication.shared.statusBarFrame let navBottom = statusRect.height + 44 base.contentInset = UIEdgeInsetsMake(navBottom, 0, 0, 0) base.scrollIndicatorInsets = base.contentInset } } 暂时解决了问题 - -!更新了求通知
感觉这个框架不更新了呢
哎,里面很多方法不能复写,好坑呀
提个 issues作者更新了通知一下 暂时在 public func addPullToRefresh(handler: @escaping ESRefreshHandler) -> ESRefreshHeaderView { //添加了 if #available(iOS 11.0, *) {//防止刷新位置错误 base.contentInsetAdjustmentBehavior = .never let statusRect = UIApplication.shared.statusBarFrame let navBottom = statusRect.height + 44 base.contentInset = UIEdgeInsetsMake(navBottom, 0, 0, 0) base.scrollIndicatorInsets = base.contentInset } } 暂时解决了问题 - -!更新了求通知