How to specify Wireless or Bluetooth in GameKit when using my own custom interface

Posted by DonnaLea on Stack Overflow See other posts from Stack Overflow or by DonnaLea
Published on 2010-03-26T03:49:06Z Indexed on 2010/03/26 3:53 UTC
Read the original article Hit count: 643

Filed under:
|
|
|

Hi,

I've decided to implement my own interface for connecting two devices running my game, as opposed to using the GKPeerPickerController. This is actually working quite well. But I just realised that in my creating of the GKSession I'm not actually specifying whether the connection should be Wireless or Bluetooth. I have an option in my interface to let the user specify which connection method they'd like to use. How do I tell GKSession whether I want it to connect via Bluetooth or Wireless?

I think what is currently happening is that it defaults to Wireless if wireless is enabled otherwise it uses Bluetooth. But I'd like to let the user specify which connection method, is this possible?

Thanks, Donna

© Stack Overflow or respective owner

Related posts about iphone

Related posts about gamekit