owen
owen

Reputation: 137

Can 2 different type of devices or 2 different apps talk to each other via Peer-to-Peer Connectivity in GameKit

For example

  1. 2 iPhones are running 2 different apps.
  2. 1 iPad and 1 iPhone are running the same app.
  3. 1 iPad and 1 iPhone are running 2 different app.

Does it has to be same devices running same apps?

I've never tried this. Hope someone can tell me.

Upvotes: 0

Views: 148

Answers (1)

Chip Coons
Chip Coons

Reputation: 3201

The short answer is "Yes" for some scenarios described.

For your examples:

  1. Yes, but you need to do some serious coding to have both apps use same sessionID. Default is to use the appID in the bundle.
  2. Yes, default behavior should work for you.
  3. As with #1.

You should review the docs on GameKit for implementing a server/service and peering.

Upvotes: 1

Related Questions