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

command line - Use qwinsta in PowerShell ISE -

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

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -