eggswift / pull-to-refresh

#Busy Re-Building....# An easy way to use pull to refresh and infinite scrolling in Swift. Pod 'ESPullToRefresh'
MIT License
1.83k stars 251 forks source link

iphone X中刷新导致contentInset的问题 #117

Open shanyanhai opened 6 years ago

shanyanhai commented 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 } } 暂时解决了问题 - -!更新了求通知

xiaofeiyun commented 6 years ago

感觉这个框架不更新了呢

huahuahu commented 6 years ago

哎,里面很多方法不能复写,好坑呀