Push notification 推送通知时的徽章编号?--活码
发送通知时,我的徽章号码有问题 我试着上了一课: 我工作得很好。当我通过livecode向我的应用程序发送通知并打开通知时。徽章号码没有丢失 下图: 这是我的代码:Push notification 推送通知时的徽章编号?--活码,push-notification,livecode,Push Notification,Livecode,发送通知时,我的徽章号码有问题 我试着上了一课: 我工作得很好。当我通过livecode向我的应用程序发送通知并打开通知时。徽章号码没有丢失 下图: 这是我的代码: on pushNotificationReceived tMessage answer "Push Notification Message:" && quote & tMessage & quote with "Okay" end pushNotificationReceived on pu
on pushNotificationReceived tMessage
answer "Push Notification Message:" && quote & tMessage & quote with "Okay"
end pushNotificationReceived
on pushNotificationRegistered tSignature
-- answer "Registered for Push Notification:" && quote & tSignature & quote with "Okay"
end pushNotificationRegistered
查看字典中的iphoneSetNotificationBadgeValue。您可以使用重置应用程序图标上的徽章
iphoneSetNotificationBadgeValue 0
我尝试过这个。它工作正常。非常感谢。如果我向设备和用户发送通知时不接触通知,我会再次发送通知。如何设置徽章编号?