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
Post a Comment