iPhone OS 3.2 File Sharing Path

Posted by OscarTheGrouch on Stack Overflow See other posts from Stack Overflow or by OscarTheGrouch
Published on 2010-05-31T04:07:52Z Indexed on 2010/05/31 4:12 UTC
Read the original article Hit count: 836

Currently I have this for my file path and file...

NSURL *storeUrl = [NSURL fileURLWithPath: [[self applicationDocumentsDirectory] stringByAppendingPathComponent: @"Shared\PartyPlanner.sqlite"]];

This allows me to share the file with iTunes, but instead of just having 'PartyPlanner.sqlite' in the 'applicationDocumentsDirectory\Shared'

I have "SharedPartyPlanner.sqlite" in the 'applicationDocumentsDirectory'

is there a cleaner or easier way to get to the shared folder inside of applicationDocumentsDirectory?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk