xcode - Double Tap Segue to move to next storyboard -


i making app user has double tap segue move next storyboard, cannot find anywhere tells how this. know how can achieve this?

if in interface builder storyboard:

  1. drag tap gesture recognizer object library onto view.

    tap gesture

  2. make sure view dragged has "user interaction enabled" checked.

    user interaction enabled

  3. select tap gesture added scene (which can find in document outline on left side of interface builder's main panel; document outline can collapsed can't see ... if don't see it, select "show document outline" "edit" menu).

    select gesture recognizer

  4. change number of taps 1 2.

    taps

  5. control-drag tap gesture in document outline next scene , choose type of segue want.

frequently, people create gesture recognizers in code, if you're interested in how works, let me know.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -