iOS and bluetooth

前端 未结 2 606
失恋的感觉
失恋的感觉 2020-12-18 05:29

I want to develop an app which will communicate with devices via bluetooth. I am not able to find any tutorial to help me with this. I don\'t mean bluetooth 4.0 LE but class

相关标签:
2条回答
  • 2020-12-18 06:08

    OK so I just found this article.

    According to this article there are 5 ways how to work with Bluetooth:

    1. Enroll MFI program - expensive and long period process
    2. CoreBluetooth framework - works only with Bluetooth 4.0 LE devices
    3. GameKit framework - only for iOS device (two iPhones) so you can't work with other device then with iOS
    4. Private API - app with private API won't be approved by Apple on the Appstore
    5. Jailbreak

    It seems there isn't normal official way how to work with bluetooth.

    My case: I want to communicate with not iOS device which has bluetooth 2.1 and I want to have it on the app store -> I can use only first one so I am screwed...

    0 讨论(0)
  • 2020-12-18 06:20

    You can check out GameKit's bluetooth feature. A basic tutorial here

    Also you can check Ray Wenderlich's tutorial which is a bit more enchanced one. Can be found here.

    0 讨论(0)
提交回复
热议问题