MyImageView
Interface
Imports:#import "MyViewController.h"
mViewController
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
Implementation
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)eventReceives a set with the touches and the event. Gets a
UITouch
from the set and check it's phase
. If it's UITouchPhaseBegan
, play the movie.
1 comment:
Is it possible to have a hyperlink over a video when it plays?.
Also could you share you complete source code for one of the examples.
Post a Comment