Hi I am developing IOS application in which I am showing HLS videos in my application. I want to enable Airplay option for my application. I tried it in following way :
_moviePlayer = [[MPMoviePlayerController alloc]
initWithContentURL:url];
[_moviePlayer setAllowsAirPlay:YES];
But it is not showing Airplay option for my application. I checked it once I start playing video (my player appears on screen) in my setting AirPlay option is not coming up. Is there any other setting needed. Need Some help. Thank you.