I want to use Airplay to send images in high definition to a Apple TV.
Airplay works fine on my iPad 2 with iOS 5.0.1.
When I start my app, my UIScreen
screens array only has 1 item in it. (the iPad of course). I register for the notification for more screens, it never comes unless i bring up the multitasking bar and select my Apple TV. I don't want to do this.
I want an in app pop over where I can select the Apple TV or any other airplay device in the list.
I used MPVolumeView
, which did give me that list - and did let me select the Apple TV - but I stil don't get the call back notification that the Apple TV has been selected - so that I can setup my UIWindow
for the new view! (but the multitask bar does confirm that the Apple TV is now ticked and the icon from MPVolumeView
does go blue too).
I've tried the externalDisplay sample app too, and this too only shows one screen in the list of UIScreens
when the app starts.
What am I missing?
Thanks