iphone - UIView Receive Touch And Slide Action -


i newbee in ios development; , want develop simple application.

in application there view member of xib. want receive user's touch , slide actions on view run sliding animations.

i found codes animation couldn't find how can receive sliding action in uiview.

at least, wanna explain why used view. view contains 2 or more labes. couldn't sure choose rect button or uiview.

i hope can me.

you need @ gesture recognizers. there tonnes of resources , examples online. example, here's example on how use swipe (slide) gesture recognizers.


Comments