Realm Swift:在卸载应用程序之后是否可以保留数据库? [英] Realm Swift: Is it possible to keep database after the apps is uninstalled?

查看:139
本文介绍了Realm Swift:在卸载应用程序之后是否可以保留数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用领域快速,即使从设备上卸载了应用程序,也可以在设备内存中保留和维护应用程序的领域数据库文件吗?

Using realm swift, is it possible to keep and maintain the realm database file of the apps in device memory even after the apps is uninstalled from the device?

非常感谢您的帮助.

推荐答案

应用程序删除应用程序时,所有文件都保留下来. iOS应用已沙箱化.这意味着每个应用程序在磁盘上都有自己的空间,并具有自己的目录,这些目录充当应用程序及其数据的宿主.

Applications all files are leftover when deleting an app. iOS apps are Sandboxed. This means that each App has its own space in disk, with its own directories, which act as the home for the app and its data.

从iPhone中删除应用程序会删除此沙箱,并删除与该应用程序关联的所有数据.

Deleting an app from the iPhone deletes this sandbox, deleting all data associated with the app.

这篇关于Realm Swift:在卸载应用程序之后是否可以保留数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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