pub unsafe static GCControllerDidBecomeCurrentNotification: &'static NSString
Available on crate feature
GCController
only.Expand description
Use these constants with NSNotificationCenter to listen to a controller becoming the most recently used controller. This is a good time to swap out UI to match the new current controller, and unregister any handlers with the old current controller.
The ‘object’ property of the notification will contain the GCController that became the current controller. For example:
- (void)controllerDidBecomeCurrent:(NSNotification *)note {
GCController *controller = note.object;
… }
See: NSNotificationCenter
See: GCController.controllers
See also Apple’s documentation