Can I add the Do not Back up for the “Document Directory” for iCloud

前端 未结 4 1814
长情又很酷
长情又很酷 2021-01-07 02:24

I had read that I can mark folders with \"do not backup\" attribute with ios 5.1 and later

As i understand, in such case all contents of directory will be excluded f

4条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-07 03:04

    First, post this on the internal Apple forums and see if you can get an Apple engineer to respond, which I doubt. Problem is even if it works today it may break later.

    Suggestions:

    1) create a folder in Documents, mark it, then only store files in it.

    2) add a method to your app delegate that takes a file name parameter, then when called locates the file and marks it. In this case you need to insure you call it after every file creation action.

提交回复
热议问题