【发布时间】:2017-08-01 17:56:45
【问题描述】:
我创建了一个 iMessage 应用程序来发送从图像转换的 MSSticker。
我已经实现了以下重写方法:
override func didStartSending(_ message: MSMessage, conversation: MSConversation) {
// Called when the user taps the send button.
// Here I am adding rewards points on every sticker sending
}
在 iOS 10.2.0 中,它运行良好意味着添加了奖励积分,但在更新到 10.2.1 后突然停止,现在我不再回调 didStartSending 方法,也没有调用 didCancelSending。
这是 iOS 10.2.1 的错误,还是我应该使用任何应用设置来通过上述方法获得通知?
任何帮助将不胜感激。
【问题讨论】:
-
如果不提供更多代码,很难找出这里的问题所在。查看 Apple 的文档页面:developer.apple.com/documentation/messages/…。
-
我发现了一个线程forums.developer.apple.com/thread/50359,其中另一个人正面临这个问题。可能对你有帮助。