Core Data and iTunes File Sharing - Move/hide the .sqlite file on app update?
Posted
by
Eric
on Stack Overflow
See other posts from Stack Overflow
or by Eric
Published on 2010-12-29T02:30:40Z
Indexed on
2010/12/29
4:54 UTC
Read the original article
Hit count: 222
I have an iPad app that uses Core Data for data storage. I would like to enable file sharing in iTunes and I don't really want the users to be able to delete or modify the .sqlite file.
Can I move the file to a different, hidden directory?
Alternatively, could the file be made read-only? I wouldn't mind users having access to the file as long as it couldn't be changed.
I suspect there is a trivial solution that is escaping me at the moment.
© Stack Overflow or respective owner