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:
drag tap gesture recognizer object library onto view.
make sure view dragged has "user interaction enabled" checked.
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).
change number of taps 1 2.
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
Post a Comment