How to make TableView only pull down, when it reaches the bottom, it cannot pull up.
If you use bounces attribute, you will not be able to pull up or down.
Or how to judge whether the cell at the bottom of the table is on the interface?
Individuals have two ideas:
- When scrolling, the contentOffset is judged.
After the calculation reaches the bottom, contentOffset equals itself.
2. Constantly count the number of cells on the current screen and find out whether the cell with the largest row is on the screen.
Use the brouces property to prevent bounce.
I don’t know what good methods everyone has.