Hi all, I have been coding a project for a while and now that I am testing it. The multipeer connectivity seems to work great when the two devices are on a wifi connection. But nothing seems to work when I am only on bluetooth both iphones don't seem to find eachother, I have made sure both iphones are discoverable on bluetooth but nothing. Each phone just has its " searching " on the Multipeer on the app. I have no idea why. Does bluetooth not work anymore. sorry if this is a dumb question is just really don't know and can find any answers. Lastly, if bluetooth doesnt work are there any other options I can use to have two phones connect without the use of wifi. Or can I use Multipeer to have phones connect through carrier network connection like verizon and stuff idk. I really dont wan't to recode this project I spent a lot of time lol . Any help is great help. Thanks again for your replies. 🙂
Apple platforms support peer-to-peer Wi-Fi, which allows devices to communicate even if they’re not on the same infrastructure Wi-Fi network. This technology is used by AirPlay, AirDrop, and so on. You shouldn’t notice any difference between this and peer-to-peer Bluetooth (except that it’s faster, and has longer range :-).
I’d advise you try this out for yourself:
Take your existing Multipeer Connectivity app and run it on two devices.
On both devices, turn off Bluetooth (in Settings, not Control Center).
Then go to Settings > Wi-Fi > YourNetwork>, and tap Forget This Network.
Repeat step 3 as long as iOS keeps auto joining networks.
Run your app on both devices and wonder at the fabulosity that is peer-to-peer Wi-Fi!
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"