OGeek|极客世界-中国程序员成长平台

标题: ios - 如何将 NSURLIsExcludedFromBackupKey 与 Adob​​e Air 一起使用? [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-13 14:01
标题: ios - 如何将 NSURLIsExcludedFromBackupKey 与 Adob​​e Air 一起使用?

Apple 拒绝了我们的申请,因为我们将文件存储在 localStorage (/Documents) 下以供离线查看 这是我们收到的消息的摘录:

Data that can be recreated but must persist for proper functioning of your app - or because customers expect it to be available for offline use - should be marked with the "do not back up" attribute. For NSURL objects, add the NSURLIsExcludedFromBackupKey attribute to prevent the corresponding file from being backed up. For CFURLRef objects, use the corresponding kCFURLIsExcludedFromBackupKey attribute.

我们如何通过 Adob​​e Air 使用 Flex SDK 4.6 做到这一点?

谢谢



Best Answer-推荐答案


有一个本地扩展:http://www.jampot.ie/ane/ane-ios-data-storage-set-donotbackup-attribute-for-ios5-native-extension/

关于ios - 如何将 NSURLIsExcludedFromBackupKey 与 Adob​​e Air 一起使用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10884538/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (https://ogeek.cn/) Powered by Discuz! X3.4