How to access the iPhone library folder programmatically

I heard in this TUAW article that iPhone apps should stop using the Documents folder to store files. Instead, they should use the library folder. How do you access the Library folder to store files?

Thanks in advance!

0
source share
1 answer

Use the NSLibraryDirectory constant instead of the NSDocumentDirectory constant when you call NSSearchPathForDirectoriesInDomains . You just need to worry about this if you really plan to write an application that allows users to manage documents.

+5
source

All Articles