Use zoom and touch gesture in a single View iOS swift
Solution:
You can use touch gesture as well as pan gesture in a single view.Scroll view used for zoom then you can just add one line that will say pan gesture for 2taps required.
You can add pan gesture with two touches in scrollView with number of taps required = 2.Then if you touch with single finger it will act as touch.If you use two fingers then it will act as pan gesture...
Comments
Post a Comment