I allow itunes sharing in my application but I noticed that the coredata create sqlite in the document directory
can I change the save of this file to library , if yes how
best regards
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
this is possible. I made a little helper method which creates a path that is not accessible through itunes. The database will be stored in the library directory, which is included in itunes back ups.
and then you would replace
in the
- (NSPersistentStoreCoordinator *)persistentStoreCoordinatormethod with: