0

I have a MPMoviePlayerController with custom controls. I wanted to add a Button to this custom view that would send the video via AirPlay. Is this possible? i have read the apple documentation on MPMoviePlayerController but did not found anything on this.

rob180
  • 901
  • 1
  • 9
  • 29

1 Answers1

0

solved it with this:

MPVolumeView *volumeView = [ [MPVolumeView alloc] init] ;
[volumeView setRouteButtonImage:[UIImage imageNamed:@"ICAirPlay"] forState:UIControlStateNormal];
[volumeView sizeToFit];
rob180
  • 901
  • 1
  • 9
  • 29