friendRequestComposeViewControllerDidFinish(_:)
Called when the player dismisses the request.
Declaration
func friendRequestComposeViewControllerDidFinish(_ viewController: GKFriendRequestComposeViewController)Parameters
- viewController:
The friend request view controller that was dismissed by the player.
Discussion
Your delegate should dismiss the view controller. If your game paused any gameplay or other activities, it can restart those services in this method.