I send a secondary UI to AirPlay - on iOS 5.1.
On the iPad, the user may use a UIWebView to play a video, and if they have Airplay setup, the video will be sent to the AirPlay device. When the video finishes playing or if the user pauses, the UIWebView does not clear out the image from the AirPlay screen.
If I then load a different URL to the UIWebView, the AirPlay image will clear out, but only after a few seconds.
I've tried to work-around this by loading a blank page, and then reloading the original video page, but that does not seem to work. Any thoughts?