[英]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: 我正在为客户解决iPad应用程序体系结构,并且得出以下结论:
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? 我的问题确实是,我的客户可以通过iTunes从他/她的笔记本电脑(如果需要的话,为Mac)复制此数据库文件,以便iPad应用程序获取更新的SQLite数据库吗?
I'll probably use Monotouch for development, but that shouldn't make a difference. 我可能会使用Monotouch进行开发,但这不会有所作为。 This is strictly an iPad app, but I've included iPhone as a tag since they consociate in many aspects.
严格来说,这是一个iPad应用程序,但由于它们在许多方面都相互关联,因此我将iPhone包括在内。
If you enable the UIFileSharingEnabled
property in the apps Info.plist
then the Documents folder becomes available when you connect the iPad to iTunes. 如果在应用程序
Info.plist
启用UIFileSharingEnabled
属性,则在将iPad连接到iTunes时,Documents文件夹将变为可用。 You can copy files to/from the device this way. 您可以通过这种方式向设备复制文件或从设备复制文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.