I'm planning on creating an app that takes data from an iPhone and sends it to another application on the Mac. Gyroscope data will also be sent.
I'm assuming that this should best be done over a bluetooth connection.
Could anyone please give me some information as to how I should structure the apps or if it is possible?
Id say the most ideal way to accomplish this is via the Bonjour protocol.
Here is a great article on the subject, http://mobileorchard.com/tutorial-networking-and-bonjour-on-iphone/.
Good thing with using Bonjour in iOS is it also works via Bluetooth.
Hope this helps !
Here I have created sample application which exchange the data between iphone and iMAC.
I have tested only with wifi.
https://github.com/boobalaninfo/Bonjour-iOS-MAC-Apps
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