Вопрос

iPad automatically detects when connected to a screen through 30pin HDMI cable and mirrors the content of its screen to the second screen.

Is it possible to disable the second screen from mirroring without disconnecting the cable? I would like to have a feature which enables and disables the second screen without disconnecting the cable.

Thanks

Это было полезно?

Решение

The default behavior is to mirror as you note. You can override this by registering to be alerted for screen events. See the docs for Multiple Display Programming Guide for iOS. This will enable you to determine if and what is displayed on the external screen.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top