makeKeyAndVisible & makeKeyWindow - uiwindow in iphone

Viewed 22531

In every application,

there is always written as [window makeKeyAndVisible];

What is mean by makeKey?

4 Answers

This method call performs a critical function. If you omit it then the top level view to the window will not be autoresized however you have set the springs and struts. Took me a while to figure that out: if the in-call status bar resizing is not happening, check to see that the window is marked as key.

Related