Reputation: 6133
I have about 3 UITextfield
in a UIScrollview
. When I touch and hold magnifying glass and move cursor in "textfield", my "scrollview" also scroll together. I need to disable scrolling of UIScrollview
when user use magnifying glass to move cursor in UITextfield
. How can I do it?
Upvotes: 0
Views: 265
Reputation: 883
You could add a UILongPressGestureRecognizer to the UITextViews. In the function corresponding to the gesture disable scrolling in the UIScrollView
Upvotes: 1