
技术文档在这里,但我在Monotouch中找不到:
https://developer.apple.com/library/ios/#qa/qa1719/_index.html
解决方法 这在0700(和iOS 5.0.1)中可用于Monotouch.Foundation.NSfileManager类型,方法Use the “do not back up” attribute for specifying files that should
remain on device,even in low storage situations. Use this attribute
with data that can be recreated but needs to persist even in low
storage situations for proper functioning of your app or because
customers expect it to be available during offline use. This attribute
works on marked files regardless of what directory they are in,
including the documents directory. These files will not be purged and
will not be included in the user’s iCloud or iTunes backup. Because
these files do use on-device storage space,your app is responsible
for monitoring and purging these files periodically.”
SetSkipBackupAttribute和 GetSkipBackupAttribute. 总结 以上是内存溢出为你收集整理的ios5 – MonoTouch:如何设置“不备份”属性全部内容,希望文章能够帮你解决ios5 – MonoTouch:如何设置“不备份”属性所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)