菜鸟教程小白 发表于 2022-12-12 23:50:40

ios - 在 iOS 中共享钥匙串(keychain)项目


                                            <p><p>我的应用程序包标识符为 com.sakthi.app,应用程序前缀 ID 为 GHWEHDPRAG。我使用此标识符在此应用程序中存储了一些钥匙串(keychain)项。现在我想创建另一个应用程序,我可以在其中获取存储在第一个应用程序中的钥匙串(keychain)项目。 </p>

<p>尝试将包标识符创建为具有相同应用前缀 ID 的 com.sakthi.apptemp。但我无法获得钥匙串(keychain)项目的值(value)。</p>

<p>您能告诉我如何访问具有相同应用前缀 ID 但不同应用包标识符的钥匙串(keychain)项吗?</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>您可以在此处引用 Apple 文档:<a href="https://developer.apple.com/library/ios/documentation/security/Reference/keychainservices/Reference/reference.html" rel="noreferrer noopener nofollow">https://developer.apple.com/library/ios/documentation/security/Reference/keychainservices/Reference/reference.html</a> </p>

<p>它详细介绍了如何使用 <code>keychain-access-groups 权利</code></p>在两个或多个应用程序之间共享项目</p>
                                   
                                                <p style="font-size: 20px;">关于ios - 在 iOS 中共享钥匙串(keychain)项目,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/24796202/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/24796202/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - 在 iOS 中共享钥匙串(keychain)项目