How to get the actual quota for CloudKit?

前端 未结 1 1179
独厮守ぢ
独厮守ぢ 2021-01-20 19:03

Im using Cloudkit and the private database to store some files to iCloud and sync between iOS und OSX. Now I wanted to implement something, the user can see how much space i

1条回答
  •  孤城傲影
    2021-01-20 19:46

    There isn't currently a way to get the remaining quota for a user in the private database at this time, so your best option is to just try to upload the data you want and watch for a CKErrorQuotaExceeded error.

    0 讨论(0)
提交回复
热议问题