Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设应用程序将只使用一个单一用途的视图控制器。将所需的 UIWindow 对象分配为视图控制器子类的成员有什么本质上的错误吗?
编程指南没有提供任何以这种方式构建的示例,尽管它们似乎也没有强调这是否真的被允许。
I was asking the same question and found yours. After a look around, I found that going back to basics was the correct thing to do, so
http://developer.apple.com/library/ios/#documentation/WindowsViews/Conceptual/ViewPG_iPhoneOS/Introduction/Introduction.html