Swift : KeyWindow

KeyWindow is a window that currently receives keyboard events and other non-touch related events. Only one window at a time can be a keyWindow. In order to check whether a window is keyWindow or not, we can use the  isKeyWindow  property. The value of this property is true  if the window is the keyWindow for the application else it is false. 

Leave a Reply