Ján*_*nos 3 nserror ios swift cloudkit swift2
我想这是基本的,但仍然..我怎么能检查我是否收到ZoneBusy错误?
ZoneBusy
if error.code == CKErrorCode.ZoneBusy { // <- compiler says can't use '==', then what?
参考:
https://developer.apple.com/library/prerelease/ios/documentation/CloudKit/Reference/CloudKit_constants/index.html#//apple_ref/c/tdef/CKErrorCode
Unh*_*lig 6
看来你错过了.rawValue.
.rawValue
所以它应该是:
CKErrorCode.ZoneBusy.rawValue
归档时间:
11 年,1 月 前
查看次数:
539 次
最近记录:
10 年,4 月 前