Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个问题:如何在应用程序 B 中获取应用程序 A 的操作结果?此外,可以删除应用程序 A,但应保存结果。数据代表一小组数字。据我所知,ios具有将数据保存在不依赖于应用程序的存储中的能力。或者,可能有用于存储数据的在线服务(例如游戏内购买)。(适用于 ios 4.x 及更高版本)
你理解(有点)不正确。您的应用程序可以在其自己的沙箱之外本地保存的唯一内容是钥匙串中的安全设置。删除应用程序后,您的沙箱将被完全删除,因此您需要确保将数据存储在其他地方。由于您的目标是低于 iOS 5(这对 iCloud 来说很痛苦),因此最好的方法是将其存储在 Web 服务器上。