Deploying SQLite DB to iPad app (via iTunes?)
I'm solving an iPad开发者_StackOverflow中文版 app architecture for a client and I've come to these conclusions:
- I will develop a simple, locally run CMS where the client can edit content
- The client can from this CMS export the content to a SQLite DB file
- I will develop an iPad application that reads and presents this SQLite DB
- The client must be able to update the SQLite database file
- The iPad application must not be dependent on an internet connection
My question is really, can my client copy this DB file from his/her laptop (Mac if needed) via iTunes, so that the iPad application gets an updated SQLite database?
I'll probably use Monotouch for development, but that shouldn't make a difference. This is strictly an iPad app, but I've included iPhone as a tag since they consociate in many aspects.
If you enable the UIFileSharingEnabled
property in the apps Info.plist
then the Documents folder becomes available when you connect the iPad to iTunes. You can copy files to/from the device this way.
精彩评论