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

后端 未结 6 948
执笔经年
执笔经年 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:33

    Just recording this here in case anyone stumbles on this question. I wasn't able to get anything to show up on the second screen until I realized that my app delegate had to retain the UIWindow. It has no natural owner, so if you just do a regular autorelease, the window will be released before it ever displays.

    Hope that helps.

提交回复
热议问题