November 2011
Beginner
238 pages
6h 19m
English
In the last chapter, we explored how to find matches using Game Center. In this chapter, we will look at the other provided system for finding peers to connect to. This system is called the Peer Picker and can be used to create a connection between two iOS devices using either Bluetooth or a local Wi-Fi network.
Before we begin working with the actual code, we let's take a quick look at the history surrounding Game Kit and Game Center. When Apple released iOS 3.0, at the time called iPhone OS 3.0, it implemented a new set of API calls, collectively referred to as Game Kit. Game Kit, in the 3.0 days, handled Bluetooth, LAN networking, and voice chat services. When Game Center was added in iOS 4.0/4.1, it brought with ...