I am trying to delete somewhere around 400 objects in a single pass with HKHealthStore deleteObjects m to get this strange error.
Domain Error = com.apple.healthkit Code = 100 "Transaction Failure".
Here is the code:
self.healthKitStore.deleteObjects(deleteQ, withCompletion: { (success, error) -> Void in
})
Any ideas? Thank!
source
share