Platforms to show: All Mac Windows Linux Cross-Platform
Back to GKDialogControllerMBS class.
GKDialogControllerMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GameKit | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GameKit | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
GKDialogControllerMBS.parentWindow as NSWindowMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GameKit | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Your app must set this property before presenting a view controller. The window must be at least 800 x 600.
GKDialogControllerMBS.presentViewController(GKViewController as NSViewControllerMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GameKit | MBS MacFrameworks Plugin | 13.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
viewController: A Game Center view controller.
Returns true if the view controller was presented, false if an error occurred.
The contents of the window are covered by the view controller's contents until the view controller is dismissed.
GKDialogControllerMBS.setParentWindow(parentWindow as NSWindowMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GameKit | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
See also:
GKDialogControllerMBS.setParentWindow(parentWindow as Window)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GameKit | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Should work fine in Cocoa, but may fail in Carbon.
See also:
The items on this page are in the following plugins: MBS MacFrameworks Plugin.