I have been asked this question many times in the interview searched every where didn't get any proper answer.So finally posting this question here.
You may go through this.
Yes, you can have multiple windows. A key window is the one that receives the user input.
Starting with Rob's answer I played around a bit and would like to write down some notes for others trying to get information on this topic:
UIWindow
. Just create one
and makeKeyAndVisible
. Done.UIWindow
covers everything, even modals, popovers, etc. Brilliant!UIWindow
is always in portrait implicitly. It does not rotate.UIWindow
can be used to bring views on the screen that float on top of everything. Without creating a dummy controller just to embed that in a UIPopoverController.