开发者

Deploying SQLite DB to iPad app (via iTunes?)

开发者 https://www.devze.com 2023-02-03 22:22 出处:网络
I\'m solving an iPad开发者_StackOverflow中文版 app architecture for a client and I\'ve come to these conclusions:

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消