PDA

View Full Version : How to video out?




newtoiphonesdk
Aug 5, 2010, 03:26 PM
How do you do video out an a universal app?



jnic
Aug 6, 2010, 09:52 AM
You can't without using private APIs.

Edit: Apparently this is no longer the case; check out UIScreen.screens (http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIScreen_Class/Reference/UIScreen.html#//apple_ref/occ/clm/UIScreen/screens), you can detect external screens and assign UIWindows to them.

newtoiphonesdk
Aug 11, 2010, 09:51 AM
Do you happen to have an example sample code for doing this? I have a TAB BAR App and one of the ViewControllers has an IBAction for playing a video included in the app using MPMovieController Delegate.