客户经理集成 - Android 与 iOS

use*_*244 4 iphone android accountmanager ios

我是 Android 开发人员,但我需要回答一些有关其他平台的可能性的问题,我想知道 iOS 提供了哪些与http://developer.android.com/reference/android/accounts/AccountManager.html相当的功能。我找到了https://developer.apple.com/library/ios/documentation/Accounts/Reference/ACAccountClassRef/Reference/Reference.html,但我无法理解全部可能性。

问题:

  • iOS 中的账户管理器如何使用?
  • 在 Android 中可以共享服务的令牌,iOS 是否具有相同的功能
  • 是否有集中式 API 或者已解决 app-2-app 问题?
  • 是否有任何与此相关的可用安全概念(限制某些应用程序对令牌的访问等)

很高兴收到简短而快速的回复!// 乔纳斯

Sat*_*zad 5

iOS 中没有提供 AccountManager 类型的功能。您需要根据您的偏好添加并实施Setting.bundle,就像Android 中类似的客户经理所做的那样。请检查此链接:

链接1

链接2

Apple Doc for Settings.bundle