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

Categories

0 votes
711 views
in Technique[技术] by (71.8m points)

iphone - Apps must follow the iOS Data Storage Guidelines or they will be rejected in app that contains .sqlite3

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

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

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...