domain
all the settings are optional and have a predefined value. The settings are:nil
)false
)false
)notificationReceived
is called. With notification.name
you can determine which notification was received and act accordingly.UIApplication.sharedApplication().keyWindow
. Once the user switches back, the subview is added back to the PlayerView.