GKFriendRequestComposeViewControllerDelegate protocol is implemented by delegates of the
GKFriendRequestComposeViewController class. The delegate is called when the player dismisses the friend request.
friendRequestComposeViewControllerDidFinish(_:) - friendRequestComposeViewControllerDidFinish:Required
Called when the player dismisses the request.
- (void)friendRequestComposeViewControllerDidFinish:(GKFriendRequestComposeViewController * _Nonnull)
The friend request view controller that was dismissed by the player.
Your delegate should dismiss the view controller. If your game paused any gameplay or other activities, it can restart those services in this method.
Available in iOS 4.2 and later.