使用其数据库部署IPad应用程序 [英] Deploy IPad application with its database

查看:119
本文介绍了使用其数据库部署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应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆