本文介绍了NSUserDefaults:是否可以从另一个应用程序获取userDefaults?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
iPhone上安装了两个应用程序(myApp和competitorApp).competitorApp使用NSUserDefaults保存用户设置.我知道所有使用competitorApp的键(值forKey).是否可以从competitorApp的myApp中获取值?
There are two apps installed on iPhone (myApp and competitorApp).competitorApp is saving user settings with using NSUserDefaults. I know all keys (value forKey) which using competitorApp. Is it possible to get values in myApp from competitorApp?
推荐答案
在iOS App编程指南中,在安全性"部分,您可以阅读:
In the iOS App Programming Guide, in the Security section you can read:
这意味着,如果您对越狱不感兴趣,那么您将无法做任何事情.
That means that if you're not interested in jailbreaking, what you want to do is not possible.
这篇关于NSUserDefaults:是否可以从另一个应用程序获取userDefaults?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!