且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

iOS 应用程序中使用的 API 密钥和秘密 - 将它们存储在哪里?

更新时间:2023-09-01 23:06:34

这是一个非常古老的问题,但是如果有人在 google 中看到这个问题,我建议您尝试使用 CloudKit 来存储任何应用程序机密(API 密钥、Oauth 机密).只有您的应用程序可以访问您的应用程序容器,并且 Apple 和您的应用程序之间的通信是安全的.您可以在此处查看.

This is a very old question, but if anyone is seeing this in google I would suggest you try CloudKit for storing any App secrets (API keys, Oauth secrets). Only your app can access your app container and communication between Apple and your app is secure. You can check it out here.