ios - How do I access an iPads Document Directory through an NSURL -


i building app uses core data store objects internally, , url document directory returning nill.

[[[nsfilemanager defaultmanager] urlsfordirectory:nsdocumentdirectory indomains:nsuserdomainmask] lastobject]; 

what doing incorrectly, or no close need be? appreciated. thanks!

use nscachesdirectory if data can downloaded again. or nsapplicationsupportdirectory if data can't restored.


Comments

Popular posts from this blog

java - Incorrect order of records in M-M relationship in hibernate -

command line - Use qwinsta in PowerShell ISE -

php - I want to create a website for polls/survey like this http://www.poll-maker.com/ -