iOS 5 推送通知 - 从开发角度

发布于 2024-12-13 04:43:37 字数 325 浏览 5 评论 0原文

我在观看iOS 5推送通知的视频时发现,除了徽章、警报和声音之外,通知用户还有一些差异。

请观看 YouTube 视频。这里 Twitter 的通知出现在状态栏上。那么我们是否需要以与通常的推送通知不同的方式进行编程?

此外,当我们向下拖动该视图时,会直接导航到新消息。那么作为开发人员,我们如何才能实现这些新的变化呢?

还有一个问题是我们如何实现通知窗口中的滚动......

I was watching videos of iOS 5 Push Notification and I encountered that there are some differences in notifying User apart from Badges, Alert and Sound.

Please go through the Youtube video. Here the notification of Twitter comes on the status bar. So do we need to have programming in different way than our usual push notification?

Also when we drag that view downwards than directly navigated to new Message. So how can we achieve those new changes as being a Developer?

One More question is How can we achieve the scrolling in Notification Window....

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

陌上芳菲 2024-12-20 04:43:38

您是指状态栏上方的横幅吗?您的用户可以在“设置”中选择该选项。只需像往常一样推送警报,如果您的用户选择将警报显示为横幅,他们就会看到这样的内容。

Do you mean the banner that sits over the status bar? That's an option your users can choose in Settings. Just push an alert as usual, and if your users have selected to display alerts as banners, that's what they'll see.

听风念你 2024-12-20 04:43:38

开发者端无需进行任何更改即可查看通知栏或横幅中的通知。虽然我不知道如何在通知窗口中启用滚动。

No changes need to be done at developer end for viewing notifications in Notification bar or Banner. Though I have no idea how to enable scrolling in Notification Window.

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