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.82k stars 253 forks source link

数据只有一页的时候,需要展示nomoredataView,有误 #161

Open liuious opened 5 years ago

liuious commented 5 years ago

/// Footer notice method func noticeNoMoreData() { self.base.footer?.stopRefreshing() self.base.footer?.noMoreData = true

    ///issues add
    if let footer = self.base.footer ,footer.alpha < 1.0{
        self.base.footer?.alpha = 1.0
    }
}

这是 因为这个时候footer的透明度还是0 所以需要修改alpha值

H-World commented 4 years ago

这个bug怎么还没修复呢