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.
source share