November 2011
Beginner
238 pages
6h 19m
English
When working with Game Kit networking, you will be using a GKSession object (see Figure 6–3) to tie everything together. This object is used to create and manage an ad-hoc Bluetooth or local wireless network connection between devices. Copies of your app, running on multiple devices, can use these services to discover each other, connect, handshake, exchange data, and gracefully disconnect.
IMPORTANT: Bluetooth networking is not supported on the original iPhone or the original iPod touch.
Figure 6–3. Peer-to-peer networking over Bluetooth using GKSession
A GKSession object primarily works with peers. A peer, in this ...