CHAPTER 17 EXERCISE SOLUTIONS

Answer to Question 1

The class is GKPeerPickerController.

Answer to Question 2

The class is GKSession.

Answer to Question 3

Call the startVoiceChatWithParticipantID:error: method from the GKVoiceChatService class.

Answer to Question 4

On the initiator, call the voiceChatService:sendData:toParticipantID: method defined in the GKVoiceChatClient protocol.

On the receiver, call the receivedData:fromParticipantID: method defined in the GKVoiceChatClient protocol.

Get Beginning iOS 5 Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.