Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I created an ebook app and my app contains a lot of images and pdf files

I was putting the downloaded images in /Library/Caches and putting the pdf files and .sqlite3 file in /Documents

now my app is rejected and this is the reason

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

Is this means that I have to move all what in /Documents to /Library/Caches? If I let the .sqlite3 file in /Documents, will the app reject again?

Thanks in advance.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
686 views
Welcome To Ask or Share your Answers For Others

1 Answer

2.23 means that you should only put stuff into /Documents that cannot be re-downloaded from the internet. i.e. user-generated files. Everything that CAN be re-downloaded should be in Library/Caches.

The reason for this rule is that /Documents gets backed up and users don't like if you waste their precious iClould backup space.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...