iphone - Disabling Video Out of App Videos on iOS devices -
I have an iOS app that I am developing, this app contains videos that contain copyrighted material. They are allowed to use to watch, but can not be seen on connecting on TV i.e. Instead, via HDMI or component - when someone plays a video and takes a TV out of the device then I need to show a splash screen on the screen, as if it is not allowed ... < P> So my question is how can I capture when a TV out device is connected to the device? Or how can I know when a TV MPMoviePlayerController has been requested (which is what the video is using to display)?
I have searched everywhere for this and no answer is available!
Thank you.
Check out what you need to do here:
UIScreen * aScreen; NSArray * screens = [UIScreen screen]; (On the screen in the screen) (If the answer to the ASKREEN (Tresellator: @Signer (mirrored screen)) and [A screen mirrorscin] == [USScreen main screen]) {/ Main screen being mirrored Is} Else {// main screen is not mirroring, or // you are not running on any compatible device}}
Comments
Post a Comment