I have three devices(mac, ipod, iphone) all of them are connected to the wi-fi. When I am testing application, that connects two devices, both ask to switch on the bluetooth, but anyway, they want to use wi-fi. how to force them to use bluetooth instead of wi-fi.
GKPeerPickerController* picker;
picker = [[GKPeerPickerController alloc]init];
picker.delegate = self;
picker.connectionTypesMask = GKPeerPickerConnectionTypeNearby; //Here, I suppose, program should use BlueTooth(but it uses the same network).
[picker show];
But if one device is not connected to the wi-fi, everything works fine.
Why setting connectionTypesMask to GKPeerPickerConnectionTypeNearby uses first of all Internet connection and only then uses Bluetooth connection? How to force use only Bluetooth?
The only way I found to do that: turn off airport in MacBook and turn on the BT.