iphone:gameKit 无法连接到非 Apple 设备?

发布于 2024-12-20 03:52:03 字数 156 浏览 6 评论 0原文

我正在开发一个 iphone/ipad 应用程序,以使用 GameKit 通过蓝牙与其他设备连接,它可以在 iphone/ipad/iPod 上正常工作,但不能与其他平台设备(如 Android 或其他蓝牙设备)配合使用?

是否有任何其他可用的框架或代码可以通过蓝牙连接到其他设备。

I am developing an iphone/ipad app to connect with other devices through Bluetooth using GameKit, it works fine with iphone/ipad/iPod but it does not work with other platform devices like android or other Bluetooth devices?

Is there any other framework or code available which could connect to other devices through bluetooth.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

厌味 2024-12-27 03:52:03

否 - Gamekit 仅适用于 iOS 设备
如果您想连接到其他设备,那么它应该通过 iOS 设备和其他设备都支持的标准蓝牙配置文件

如果您正在开发需要连接到 iOS 设备并希望使用您自己的通信机制的配件,那么您需要加入 Apple MFi 计划并根据 MFi 计划开发配件。

No - Gamekit is only for iOS devices
If you want to connect to other devices then it should be over standard Bluetooth profiles which both the iOS device and the other device supports

If you are developing accessories that need to connect to iOS devices and want to use your own communication mechanism then you need to join the Apple MFi program and develop accessories as per the MFi program.

同展鸳鸯锦 2024-12-27 03:52:03

您可以使用私有 BluetoothManager 类通过蓝牙连接到非 Apple 设备,但这不是 App Store 合法的,会导致应用程序拒绝。

没有 App Store 允许的选项可用于使用蓝牙与 Android 等其他平台进行通信。如果您使用 GameKit,他们就可以发现您的 iPhone - 仅此而已。你无法与他们联系,无法与他们沟通。

You can use private BluetoothManager class to connect through Bluetooth to non-Apple devices, but this is not App Store-legal and will cause app rejection.

There are no App Store-permitted options for communicating using Bluetooth with other platforms like Android. They can discover your iPhone if you're using GameKit - and that's all. You can't connect to them, you can't communicate with them.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文