Dan Hanly
Dan Hanly

Reputation: 7839

Controlling Video with Gestures

I have a video playing a camera rotating around a 3D model. I want to be able to sweep left to right to play the video forwards and right to left to play the video backwards.

Can this be done on iOS 4 and how?

Cheers

Upvotes: 0

Views: 442

Answers (2)

Add a UISwipeGestureRecognizer to the view that holds the video, and configure it.

Upvotes: 1

vincent
vincent

Reputation: 441

just add a new transparent view on top of your video and catch touch actions in that layer

Upvotes: 0

Related Questions