简体   繁体   中英

Deploying SQLite DB to iPad app (via iTunes?)

I'm solving an iPad 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM