ios - 在 AIR for iOS 上启用 iCloud

标签 ios air

我正在 Adob​​e AIR(flash) 上开发 iOS 应用程序,我想使用 iCloud KeyValue 函数(使用 ANE)。

如何在 AIR 上启用 iCloud 功能?

我认为 app.xml 是如何完成此操作的,但不确定。

最佳答案

我解决了这个问题。

<Entitlements>
<![CDATA[
<key>com.apple.developer.ubiquity-container-identifiers</key>
<array>
    <string>$(TeamIdentifierPrefix).com.hoge.hugaApp</string>
</array>
<key>com.apple.developer.ubiquity-kvstore-identifier</key>
<string>$(TeamIdentifierPrefix).com.hoge.hugaApp</string>
<key>keychain-access-groups</key>
<array>
    <string>$(AppIdentifierPrefix).com.hoge.hugaApp</string>
</array>
]]>

我从XCode项目的hugaApp.entitlement中这样写,它是自动生成的文件。 然后我将 $(TeamIdentifierPrefix) 和 $(AppIdentifierPrefix) 替换为实际值。

谢谢你回复我!

关于ios - 在 AIR for iOS 上启用 iCloud,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12367931/

相关文章:

ios - 如何将UITableView单元格移到UITableView之外的另一个 View ?

ios - 同时播放 2 个音频 Objective-C

ios - Adobe Air 3.6 出现阻止备份的问题

actionscript-3 - 第二次读取字节数组出错?

ios - 起床后没有声音

php - MYSQL PID/SOCK 错误 - 我无法让我的 Mac El Capitan 与完整的 Web 服务器配合使用

iOS NSMutableArray 如何检查它是否包含 NSNumber 对象?

ios - View 中的居中文本 - 不居中

ios - GoogleTagManager 警告 : Unexpected type in Builder: (null)

actionscript-3 - 在AS3 TextField中使用嵌入式字体时,可以使用非嵌入式后备字体吗?