This question is also a drunk one. Looking at the username, is the questioner a girl? A little thought on this issue will yield results.
A simple answer: You need to set a range, and then determine whether it touches the edge based on the position of the imageView. If so, then you are not allowed to continue dragging in that direction.
Who come, help me
This question is also a drunk one. Looking at the username, is the questioner a girl? A little thought on this issue will yield results.
A simple answer:
You need to set a range, and then determine whether it touches the edge based on the position of the imageView. If so, then you are not allowed to continue dragging in that direction.