gpt4 book ai didi

objective-c - 许多应用程序在 iO 中使用一个商店

转载 作者:行者123 更新时间:2023-12-01 19:28:57 26 4
gpt4 key购买 nike

如何做到这一点,来自同一开发人员的许多应用程序将使用同一商店。
在使用来自同一数据库的相同数据的同步过程的情况下,这将非常有用。
甚至有可能做到这一点吗?

我想我必须对 boundle identyfier 做点什么。也许带有 * 标记的东西。

问候,
大卫

最佳答案

这是不可能的,你能做的最远的事情就是在你的应用程序之间共享钥匙串(keychain)项目:

It is now possible for you to share Keychain items among multiple applications you create. Sharing items makes it easier for applications in the same suite to interoperate more smoothly. For example, you could use this feature to share user passwords or other elements that might otherwise require you to prompt the user from each application separately.

Sharing Keychain items involves setting up the proper entitlements in your application binaries. Using Xcode, you must create an Entitlements property list file that includes the supported entitlements for your application. The process for creating this file is described in iOS Development Guide. For information about the entitlements you can configure, see the description for the SecItemAdd function in Keychain Services Reference.

Accessing shared items at runtime involves using the Keychain Services programming interface with the access groups you set up during development. For information about how to access the Keychain, see Keychain Services Programming Guide.



http://developer.apple.com/library/ios/#releasenotes/General/WhatsNewIniPhoneOS/Articles/iPhoneOSv3.html

关于objective-c - 许多应用程序在 iO 中使用一个商店,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4255146/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com