0
发送消息时,它会用随机码引发错误。没有描述或任何东西。这是我的代码:Swift 4 iMessage发送消息:操作无法完成。 (com.apple.messages.messagesapp-错误错误9.)
if #available(iOSApplicationExtension 11.0, *) {
conversation?.send(message, completionHandler: { (error) in
if error != nil {
print(error?.localizedDescription)
}
})
} else {
conversation?.insert(message, completionHandler: { (error) in
if error != nil {
print(error?.localizedDescription)
}
})
}
错误:操作无法完成。 (com.apple.messages.messagesapp-error error 9.)
当我使用插入功能时,它工作正常。真的在烦我哈哈,明白吗?臭虫......不?好。
我也注意到了这一点。为了以防万一,我提交了一个雷达,但它应该很快就会被修复。 –