iPad 中的推送通知未出现在“设置”中

发布于 2024-11-07 15:46:22 字数 251 浏览 5 评论 0原文

我正在研究 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

故事未完 2024-11-14 15:46:23

也许这是显而易见的,但您是否尝试过:

  • 重新启动 iPad?
  • 完全删除应用程序,创建一个干净的版本并在 iPad 上运行该版本?
  • 尝试在另一台 iPad 上安装?其他 iPad 上是否也存在此问题?

重新安装一个干净的版本并重新启动设备应该可以解决大多数像这样的奇怪问题。如果这不能解决您的问题,请务必在另一台 iPad 上进行测试或完全重置您的 iPad。

这样你就可以看到iOS安装本身是否有问题。听起来确实是这样,因为推送工作正常,iPhone 版本工作正常。

通过在另一台 iPad 上进行测试,您可以确定问题是出在代码/应用程序中还是 iOS 中。

Maybe this is obvious, but did you try to:

  • Restart the iPad?
  • Completely remove the App, create a clean build and run that build on the iPad?
  • Try to install on another iPad? Is the issue also present on the other iPad?

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.

扶醉桌前 2024-11-14 15:46:23

您的 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

仙女山的月亮 2024-11-14 15:46:23

您确定要在启动时注册您的应用程序吗?

我遇到了类似的问题,我意外删除了 - (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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文