GKFriendRequestComposeViewControllerDelegate Protocol Reference

Framework
/System/Library/Frameworks/GameKit.framework
Availability
Available in iOS 4.2 and later.
Companion guide
Declared in
GKFriendRequestComposeViewController.h

Overview

The GKFriendRequestComposeViewControllerDelegate protocol is implemented by delegates of the GKFriendRequestComposeViewController class. The delegate is called when the player dismisses the friend request.

Tasks

Responding to User Events

Instance Methods

friendRequestComposeViewControllerDidFinish:

Called when the player dismisses the request. (required)

- (void)friendRequestComposeViewControllerDidFinish:(GKFriendRequestComposeViewController *)viewController
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.

Availability
  • Available in iOS 4.2 and later.
Declared In
GKFriendRequestComposeViewController.h