Jim Clermonts
Jim Clermonts

Reputation: 2660

How can I remove Gesture recognizer in Xcode?

I'm not sure how to remove the gesture recognizers. Many thanks guys.

How can I remove these??

Upvotes: 4

Views: 1482

Answers (2)

JubiAudio
JubiAudio

Reputation: 115

Nicael's answer applies to Xcode 8 as well. Below is a more thorough procedure:

  1. Open Project Navigator and select Main.storyboard this should display the Image Navigator to the right

  2. Find the "Gesture Recognizer" in the Image Navigator on top of the Scene as in picture

    action icons of a Scene

    (the third icon form the left)

  3. Select the Gesture Recognizer icon and press the "delete" key as in picture

    Select the Gesture Recognizer icon

  4. Open the "Assistant Editor" or "Standard Editor" to locate the Gesture Recognizer code section in the Swift project and remove it.

Upvotes: 2

nicael
nicael

Reputation: 18995

Select && Press delete.

Upvotes: 5

Related Questions