Game Center lets friends, and soon-to-be-friends, in on the action. Using Game Kit APIs in the iOS SDK, you can add another level of fun by connecting your app to Apple’s social gaming network.
Your users can invite friends to play a game, start a multiplayer game through auto-matching, track achievements and compare their best scores on a leaderboard. We’ve also added support for turn-based gaming, the ability for users to invite players to existing matches and other features to keep the good times rolling. Learn more
Find Others Using Bonjour
Bonjour is the powerful zero configuration protocol from Apple that makes it easy to find systems and services on a local network automatically. Many services and applications on OS X that have networking capabilities use Bonjour, from printer discovery, to chatting in iChat, to music sharing in iTunes. Bonjour includes a sophisticated, yet easy-to-use, programming interface that is accessible from Cocoa Touch or low-level C language. View developer resources
Peer to Peer
The Game Kit framework is a high-level set of APIs that make it incredibly simple to create ad-hoc networks among friends in close proximity, using the Bluetooth radio on iOS devices. Built using Bonjour and the powerful BSD networking layer that underpins iOS, Game Kit handles the entire experience of connecting two devices over the network. These peer to peer connections are great for sharing information quickly, or turning a single player game into a multi-player party.
BSD Sockets is the fundamental network programming interface on iOS; all of the higher-level frameworks are based on it. It is a good choice for maximum performance and flexibility. Because it is the de-facto standard for UNIX network programming, BSD Sockets support in iOS means it is often easy to port networking code over from other platforms.
iOS makes it easy to add network capability to your application. The high-level WebKit framework gives you complete control over locally or remotely accessed web content. The framework makes it easy to render HTML, store cookies, cache responses, store credentials, and authenticate users. Your application can interact with the Web as a first-class information and communication source without having to write a lot of low-level networking or parsing code.