GKFriendRequestComposeViewControllerMBS methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to GKFriendRequestComposeViewControllerMBS class.

GKFriendRequestComposeViewControllerMBS.addRecipientsWithEmailAddresses(playerIDs() as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Add recipients to the request.

If you don't specify at least one recipient before presenting the view, the recipients field will be made firstResponder, to encourage the user to add some.
If you add more than maxNumberOfRecipients recipients, these methods will throw an exception.

GKFriendRequestComposeViewControllerMBS.addRecipientsWithPlayerIDs(playerIDs() as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Add recipients to the request.

If you don't specify at least one recipient before presenting the view, the recipients field will be made firstResponder, to encourage the user to add some.
If you add more than maxNumberOfRecipients recipients, these methods will throw an exception.

GKFriendRequestComposeViewControllerMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The constructor.

GKFriendRequestComposeViewControllerMBS.setMessage(message as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Specify the message sent to the invitee. A default message will be used if you don't specify one.

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


💬 Ask a question or report a problem