This show is showing that how to play video in iPhone application.
NSURL*url = [NSURL URLWithString:@"UrlOfVideo"];
MPMoviePlayerController *player = [[ MPMoviePlayerController alloc] initWithContentURL:url];
player.scalingMode = MPMovieScalingModeAspectFill;
[player play];
No comments:
Post a Comment