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 02-10-2012, 05:03 AM   #1 (permalink)
Registered Member
 
Join Date: Aug 2011
Posts: 245
samurle is on a distinguished road
Question User-created content?

I have a question about the "iOS Data Storage Guidelines".

If I create an app that allows the user to create content, such as music, or 3D data,
then I would like the user to be able to get it off the device and copy it to their PC.

I can save that custom data in the documents directory. Then setting the UIFileSharingEnabled flag
in my app's info.plist, this will allow iTunes to access it.

The only concern I have about it, when doing searches about this topic, I come across
several posts of people saying their app was rejected because they had this
UIFileSharingEnabled flag set. But, it wasn't completely obvious what they were doing with it.

Am I correct to assume, that any app *can* be approved with the "UIFileSharingEnabled" flag set,
but only if the app uses it correctly?
samurle is offline   Reply With Quote
Old 02-10-2012, 09:06 AM   #2 (permalink)
Senior Member
iPhone Dev SDK Supporter
 
Join Date: Aug 2008
Location: Memphis, TN, USA
Age: 24
Posts: 3,983
smithdale87 is on a distinguished road
Send a message via AIM to smithdale87
Default

First hit on google gave me this:

Quote:
When file sharing is enabled, the entire Documents folder is used for file sharing. Files that that are not intended for user access via the file sharing feature should be stored in another part of your application's bundle. If your application does not require the file sharing feature, the UIFileSharingEnabled key in the Info.plist should not be set to true.
To sum it up, if you have files that are in your Documents directory that shouldnt be shared, then you'll probably get rejected.
smithdale87 is offline   Reply With Quote
Old 02-10-2012, 03:41 PM   #3 (permalink)
Registered Member
 
Join Date: Aug 2011
Posts: 245
samurle is on a distinguished road
Default

Quote:
Originally Posted by smithdale87 View Post
First hit on google gave me this:

To sum it up, if you have files that are in your Documents directory that shouldnt be shared, then you'll probably get rejected.
Thanks, but I was looking for a more direct answer for what is allowed, rather than
what isn't allowed. Such as the examples I provided. Just to make sure that
I'm using it correctly.
samurle is offline   Reply With Quote
Reply

Bookmarks

Tags
documents directory, file sharing, uifilesharingenabled

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: 386
12 members and 374 guests
chiataytuday, chits12345, ChrisYates, fiftysixty, fredidf, gmarro, KennyChong, kilobytedump, Leslie80, Meoz, ryantcb, Yosh_K
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,670
Threads: 94,121
Posts: 402,903
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Yosh_K
Powered by vBadvanced CMPS v3.1.0

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