乐于分享
好东西不私藏

AppInventor2 开发iOS App你可能关心的?!

AppInventor2 开发iOS App你可能关心的?!

首先,可以明确地说,AppInventor2已经支持iOS App的开发编译了,只不过相比Android App来说门槛要高一些,也就是需要苹果的开发者账号(一年99美元,苹果收取且不开发票),因此也有很多网上调侃的买了苹果账号开发的App一年能否赚回成本?正因为此,AppInventor2中文网目前还没有正式上线iOS编译服务,加上目前iOS各组件官方还在完善当中还不是很成熟,本文就稍微针对iOS的进展做一个初步的说明,有的可能是你关心的,再者多多了解一下也是好的。
1、iOS由于苹果系统限制,不能像Android那样使用拓展,只能内置组件适配。好在支持低功耗蓝牙BluetoothLE,但是经典蓝牙不支持。
One challenge here is that Apple has restricted access somewhat to what I would call “classic” Bluetooth due to energy consumption concerns. They do allow use of Bluetooth low energy without issue, which we do plan to implement full support for. 
2、iOS虽然不支持拓展,但少数比如ble拓展,兼容安卓的拓展导入模式,内部自动处理,除了这些少数内置拓展,其余的不支持。当然MQTT功能我们中文网是一定会额外开发内置进去的!!!
For now you just need to use any project with the existing BLE extension. The iOS version will know what to do. I’ve only implemented a small subset of the functionality so far so if there is a specific app you’d like me to take a look at to improve the coverage please send it to me.
3、iOS的ble拓展和安卓不一样,iOS 使用由 iOS 设备和 BLE 设备组合生成的 UUID 来识别 BLE 设备,而不是像 Android 那样使用 MAC 地址。
Also iOS identifies BLE devices using a UUID derived from a combination of the iOS device and the BLE device rather than using a MAC address like on Android. Therefore, you cannot expect that any of the blocks that connect via MAC address to work the same across platforms.
4、中文网iOS编译服务即将上线!
本站文章均为手工撰写未经允许谢绝转载:夜雨聆风 » AppInventor2 开发iOS App你可能关心的?!

评论 抢沙发

3 + 7 =
  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
×
订阅图标按钮