Scrollview scrolls automatically when iOS slides to the bottom with a long gesture

want to achieve an effect, such as album APP, select photos, long press to select multiple photos, when the gesture slides to the bottom of the screen, the view will automatically scroll up to allow users to select more pictures, how should this function be achieved? Please give us some advice.

I have tried to monitor the position of the gesture. If the distance from the bottom is less than 30, then enable the timer to scroll up the view 50 every 0.5 seconds, but this experience is still very bad. Is there any way to achieve this effect?

Mar.25,2021

Please help me

Menu