Search code examples
iphoneuiwindow

No of UIWindow instances in an iPhone App


Can some one confirm me that only one UIWindow instance is possible in any iPhone Application at any time?

UPDATE: I found the following information in this link . According to this there can be many windows.

In addition, the UIApplication object maintains a list of all the windows (UIWindow objects) currently open in the application, so through those it can retrieve any of the application’s UIView objects.


Solution

  • Yes for iOS aps there is typically only one UIWindow..

    http://developer.apple.com/library/ios/#documentation/WindowsViews/Conceptual/ViewPG_iPhoneOS/Introduction/Introduction.html%23//apple_ref/doc/uid/TP40009503