本文介绍了使用其数据库部署IPad应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都可以告诉我是否可以使用预先初始化的数据库部署IPad应用程序吗?
can any one tell me if I could deploy an IPad application with its pre-initialized database?
我正在使用IOS开发人员企业计划帐户
I'm using IOS developer Enterprise program account
推荐答案将数据库作为资源包括在捆绑包中,并在启动时将其克隆到用户文档文件夹中。
Include the database as a resource in the bundle and clone it into the users document folder at launch.
克隆的原因是你没有获得捆绑资源的写权限。
The reason to clone is that you dont get write privileges on bundle resources.
或者因为这不是代码,你可以从公司服务器下载它在发布时,但既然你问这个问题,你可能不想这样做。
Alternatively since this is not code you could download it from the corporate server at launch but since you are asking this question you probably dont want to do that.
更多推荐
使用其数据库部署IPad应用程序
发布评论