1
我試圖用方法deleteInBackgroundWithBlock從Parse中刪除記錄。我得到true
在該塊中的succeeded
參數。但是,該記錄仍然存在於解析面板上。解析iOS - 刪除方法返回true,但記錄不會被刪除
這裏是我的代碼:
let follow = ["objectId": "XXXXXXX"]
let rawFollow: PFObject = PFObject(
className: "Follow",
dictionary: follow)
rawFollow.deleteInBackgroundWithBlock { (succeeded: Bool, error: NSError?) -> Void in
// succeeded = true, but record was not deleted....
}
同步嘗試時發生了什麼(即' - (BOOL)delete:(NSError **)error')?? –