Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-09-2012, 12:41 AM   #1 (permalink)
Registered Member
 
Join Date: Oct 2009
Posts: 2
rambo is on a distinguished road
Unhappy iPhone App Rejection due to "iOS data storage Guidelines". Need help.

My iphone app has got rejected recently & with below mentioned reason :



"We found that your app does not follow the iOS Data Storage Guidelines, which is not in compliance with the App Store Review Guidelines."



For this app I was storing database (sqlite file) in /Documents/ directory for iOS 5.0.1 & above & for iOS 5.0 & below versions I used Library/Cache directory.

For other data like PDF & artwork images which I was downloading from server I followed the same approach as above like: iOS 5.0.1 & Later: Saved these data into /Documents/ directory iOS 5.0 & earlier versions: Saved data to Library/Cache directory.



Is the above approach correct?



As per Apple guideline: Important: The new "do not back up" attribute will only be used by iOS 5.0.1 or later. On iOS 5.0 and earlier, applications will need to store their data in /Library/Caches to avoid having it backed up. Since this attribute is ignored on older systems, you will need to insure your app complies with the iOS Data Storage Guidelines on all versions of iOS that your application supports.



Also very confused about that "do not back up" attribute assignment for the data stored for iOS 5.0.1 & later. For which files i need to assign this flag ? Can i use it for database?.

Need to get rid of these rejection as it has happened twice. Please provide some guidance for storing the data for my app.



I am using a 1) sqlite DB file, 2) pdf files,3) csv file & 4) images in my app where csv,pdf & images are dynamic content.



Thanks in advance. Looking forward for the firm solution.
rambo is offline   Reply With Quote
Old 01-09-2012, 05:27 AM   #2 (permalink)
Registered Member
 
Join Date: Nov 2008
Posts: 864
nobre84 is on a distinguished road
Default

Well, if you read what the guidelines states, you will understand your problem. Apple does not want unnecessary resources being backed up to iCloud.
You must mark your files with the No-backup extended attribute, its easier if you put everything in a folder and mark your folder with the attribute.
nobre84 is offline   Reply With Quote
Reply

Bookmarks

Tags
data, icloud, iphone, storage

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 390
9 members and 381 guests
Atatator, buggen, guusleijsten, j.b.rajesh@gmail.com, morterbaher, sacha1996, Sami Gh, tim0504, VinceYuan
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,674
Threads: 94,122
Posts: 402,907
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Atatator
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:36 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0