【发布时间】:2014-09-13 13:26:04
【问题描述】:
在我的应用中,我有这个:
[[UIApplication sharedApplication] registerForRemoteNotificationTypes: UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeSound];
但是,当我通过 ApnsPHP 从我的网络服务器发送通知时,徽章已实现,但锁定屏幕上没有消息。消息只能在通知中心找到。
我是否需要做更多的事情才能在锁定屏幕上启用通知?
【问题讨论】:
-
您确定您已在系统偏好设置应用中启用您的应用以在锁定屏幕上显示其通知吗?
-
是的,我已经检查过了。
标签: ios push-notification apns-php