Apps must follow the iOS Data Storage Guidelines or they will be rejected

前端 未结 7 1616
栀梦
栀梦 2021-02-04 21:40

i have developed an app that can download mp3 files (nearly 6 to 8 mb of size) from online and stored in NSDocumentDirectory. my app get rejected today and says that

         


        
7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-04 22:04

    You can not store in NSDocumentDirectory because this directory is for syncing with iCloud now. But you can use NSCachesDirectory or use temp directory as apple comment states for store music file.

提交回复
热议问题