Search code examples
iphonecocoa-touchuikituiwindow

makeKeyAndVisible & makeKeyWindow - uiwindow in iphone


In every application,

there is always written as [window makeKeyAndVisible];

What is mean by makeKey?


Solution

  • The key window is the window which will receive user interaction.

    You might take a look at this:

    http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/WinPanel/Concepts/ChangingMainKeyWindow.html