Questions tagged [uilongpressgesturerecognizer]

`UILongPressGestureRecognizer` is a concrete subclass of `UIGestureRecognizer`, used to detect and handle user initiated long press events in iOS. Use this tag only for questions specifically about or closely related to using this subclass.

For gesture recognition, the specified number of fingers must tap the view a specified number of times. Although taps are discrete gestures, they’re discrete for each state of the gesture recognizer. The system sends the associated action message when the gesture begins and then again for each intermediate state until (and including) the ending state of the gesture.
Read more in the API Documentation.

2 questions
1
vote
1 answer

UILongPressGestureRecognizer crashes in tableview when dragged to top of view - SWIFT

I am using a UILongPressGestureRecognizer for each cell in a table view that has two sections/section headers. When I do a long press on a cell in my first section and drag to the top of the table view my app crashes. (I have disabled the…
Jaxs_ios
  • 48
  • 10
0
votes
0 answers

Long Press Triggered Multiple Cell Selection on UITableView

I'm trying to implement a long press triggered multiple cell selection on a UITableView. Once the multiple selection has triggerred, the selection and deselection must continue with tableview's didSelectRowAt and didDeselectRowAt…
Kozmotronik
  • 2,080
  • 3
  • 10
  • 25