Use NSURLIsExcludedFromBackupKey without crashing on iOS 5.0

前端 未结 6 1278
我在风中等你
我在风中等你 2020-12-02 15:55

The check for availability seems to be working fine but I can\'t seem to set the NSURLIsExcludedFromBackupKey key without getting this crash on launch:

6条回答
  •  一个人的身影
    2020-12-02 16:38

    Depending on what you're doing, this quick fix may work for you. It did for me.

    Add the CoreFoundation framework to your project and mark it as OPTIONAL (not required).

提交回复
热议问题