如何在两个设备之间共享我使用sqlite数据库存储的所有数据,以通过转储到另一个设备来重用数据 [英] How to share all the data i have stored using sqlite database between two devices to reuse the data by dumping in another device

查看:280
本文介绍了如何在两个设备之间共享我使用sqlite数据库存储的所有数据,以通过转储到另一个设备来重用数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已在 iPhone,(Objective-c)

中实施了一个应用,因为我使用了 SQLITE 用于数据库。

in that i have used SQLITE for data base.

现在我需要共享数据。

分享数据:


  1. 我需要通过邮件发送数据。

  2. 在那里我附上我的数据库文件(可能是csv格式?)

  3. 通过转储数据来重新使用我在其他应用程序中的数据..

任何有用的回复,在此先感谢

Any useful replies, thanks in advance

推荐答案

您可能已经看到某些应用程序从邮箱中打开pdf文件,因为这些应用程序会自行注册以处理.pdf文件。因此iOS显示了已注册打开pdf文件的可用应用程序列表,以便用户可以选择任何一个应用程序来查看附件。

You might have seen some apps open the pdf files from the mail box, because those apps registers themselves to handle the .pdf files. So iOS shows he list of available apps who registered to open the pdf files, so that user can select any one of the app to view the attached file.

同样可以创建您自己的文件扩展名并在info.plist文件中注册,以便在点击附件时在邮件中提供一个在您的应用程序中打开的选项。

Similarly you can create your own file extension and register in the info.plist file, so that in the mail when tap on the attachment it provides an option to open in your application.

Raywenderlich为此提供了一个非常好的教程。

Raywenderlich has given a very good tutorial for this.

如何在iOS应用程序中通过电子邮件导入和导出应用程序数据

看看它,会非常帮助你。

Have a look at it, will surly help you.

这篇关于如何在两个设备之间共享我使用sqlite数据库存储的所有数据,以通过转储到另一个设备来重用数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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