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

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

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -