Excluding files from iCloud backup

后端 未结 2 1130
谎友^
谎友^ 2021-01-22 22:25

I\'m using iOS 5.1 I use this peace of code

[pathURL setResourceValue:[NSNumber numberWithBool:YES]
                   forKey:NSURLIsExcludedFromBackupKey
               


        
2条回答
  •  南笙
    南笙 (楼主)
    2021-01-22 22:37

    It's worth to note that you can't just set the flag on NSHomeDirectory(). It has to be internal to that path.

提交回复
热议问题