I want to fetch more data from server if the last cell will display, but UICollectionView don't have method -willDisplayCell like UITableview. So I have no idea about this situation, can somebody tell me what should I do , thanks!
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
- didBeginContact:(SKPhysicsContact *)contact not in
- Attempt to present UIAlertController on View Contr
you can also use the scrollview delegate since uicollectionview inherits from uiscrollview , just implement the uiscrollview delegate method :
and do something like :
You can simply implement the fetching operation inside -
and check for the condition