I am looking for a way to have one iPhone app send a message to another app on a different phone (sort of like a Sender-Receiver set up). I am looking for the best possible way to do this. Does anyone have any ideas and/or tutorials?
Thanks for the help.
If the app you want to use communicates over a Wi-Fi network, all the devices with which you want to communicate must be on that same network. If the application uses Bluetooth, you must enable Bluetooth on each device and pair them (as described in the previous task) so they can communicate with one another.
Beyond the sandbox: using app groups to communicate between iOS or macOS apps. Apple's “app group” technology allows a collection of sandboxed macOS or iOS apps from the same development team to all communicate with each other, coordinate functionality, share resources, and/or minimize redundancies.
On your iPad or iPod touch: Go to Settings > FaceTime, then turn on FaceTime and Calls from iPhone. If you're asked, turn on Wi-Fi Calling. On your Mac: Open FaceTime, choose FaceTime > Preferences > Settings, then select Calls from iPhone.
Instant Hotspot: Connect to the Personal Hotspot on your iPhone or iPad (Wi-Fi + Cellular) from your Mac, iPad, iPod touch, or another iPhone, without entering a password. iPhone Cellular Calls: Make and receive calls from your Mac, iPad, or iPod touch when those devices are on the same network as your iPhone.
You should use GameKit. It is super easy to send messages between two iOS devices using it. Here's a great tutorial: Game Kit. You can also get more information about it here from the docs: About Game Kit.
You communicate by creating an ad-hoc bluetooth or local wireless network.
lmirak provided insightful info about device communication(especially about GameKit). I would like to add one more solution. You can use WiFi network to do your device communication.
See the link or download the sample application from developer.apple
The sample application named as WiTap. It demonstrates how to achieve network communication between applications. Using Bonjour, the application both advertises itself on the local network and displays a list of other instances of this application on the network.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With