iPad 中的推送通知未出现在“设置”中
我正在研究 iPad 上的推送通知。我的应用程序是一个通用应用程序,包括iPhone和iPad。 iPhone推送通知效果很好,用户收到推送后,应用名称出现在Setting ->通知
但是,我对 ipad 版本有一个小问题,即应用程序名称没有出现在设置 -> 列表中。通知
。我仍然可以注册设备 ID,iPad 确实会收到推送通知。
有谁知道可能是什么原因?我检查并确保两个设备的注册码完全相同
I am working on push notification on iPad. My application is a universal application include iPhone and iPad. The iPhone push notification works well, the user receives push, the app name appears in the Setting -> Notifications
However, I have a small issue with the ipad version is that the app name does not appear in the list of Settings -> Notifications
. I can still register for the device ID, the iPad does receive the push notification.
Does anyone know what can be a reason? I checked and be sure that both the registering code for both devices are exactly the same
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
也许这是显而易见的,但您是否尝试过:
重新安装一个干净的版本并重新启动设备应该可以解决大多数像这样的奇怪问题。如果这不能解决您的问题,请务必在另一台 iPad 上进行测试或完全重置您的 iPad。
这样你就可以看到iOS安装本身是否有问题。听起来确实是这样,因为推送工作正常,iPhone 版本工作正常。
通过在另一台 iPad 上进行测试,您可以确定问题是出在代码/应用程序中还是 iOS 中。
Maybe this is obvious, but did you try to:
Reinstalling a clean build and restarting the device should do the trick with the majority of strange problems like this one. If this is not resolving your problem it's very important to test on another iPad or completely reset your iPad.
This way you can see if there is something wrong in the iOS install itself. It sounds like this is the case, because push is working and the iPhone version is working fine.
By testing on another iPad you could determine if the problem is in your code/App or in iOS.
您的 iPad 是否已更新至最新版本?
请按照下面提到的步骤操作。
http:// /ipad.about.com/od/iPad_Guide/ss/如何关闭推送通知-On-The-Ipad.htm
Is your iPad updated to the latest version?
Follow the steps mentioned below.
http://ipad.about.com/od/iPad_Guide/ss/How-To-Turn-Off-Push-Notifications-On-The-Ipad.htm
您确定要在启动时注册您的应用程序吗?
我遇到了类似的问题,我意外删除了
- (void)registerForRemoteNotificationTypes
。在删除该行之前,我拥有该应用程序的所有设备仍然具有设置,但新设备没有注册推送,因此没有在“设置”中注册。
Are you sure you are registering your app at launch time?
I had a similar issue where I removed
- (void)registerForRemoteNotificationTypes
by accident.All the devices on which I had the application before removing that line still had the settings, but the new one didn't register to push hence not being registered in Settings.