Using UIScreen to drive a VGA display - doesn't seem to show the UIWindow?

后端 未结 6 932
执笔经年
执笔经年 2020-12-28 10:51

HI there,

I\'m trying to use UIScreen to drive a separate screen with the VGA dongle on my iPad.

Here\'s what I\'ve got in my root view controller\'s viewDid

6条回答
  •  不思量自难忘°
    2020-12-28 11:42

    It needs to be mentioned that the code provided on this page and on the github link by igaiga is merely meant to "move" (NOT CLONE) the view that would normally be on the iPad (or other device).

    If you need to clone (aka Mirror) the view and refresh its contents this link is more suitable: http://www.touchcentric.com/blog/archives/123

    I hope this helps to clarify the use cases for both sets of code for users just starting to integrate video out capabilities into existing apps.

提交回复
热议问题