logo
  • 教程列表
  • SO官方文檔
  • 確定私有資料庫是否可用
    • accountStatusWithCompletionHandler
  1. StackOverflow 文件
  2. cloudkit 教程
  3. 確定私有資料庫是否可用

確定私有資料庫是否可用

Created: November-22, 2018

返回的帳戶狀態可以是:couldNotDetermine,available,restricted 或 noAccount。

應用程式執行時狀態可能會發生變化,使用 NSUbiquityIdentityDidChangeNotification 檢測帳戶更改並再次呼叫此方法以檢索新帳戶的狀態。

  • accountStatusWithCompletionHandler

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明