主屏幕上显示的 UIAlertView

发布于 2024-12-14 15:43:00 字数 84 浏览 2 评论 0原文

有没有办法在应用程序在后台运行时弹出警报视图? Apple 推送通知的问题是需要互联网连接。无需互联网连接或服务器即可获得本地通知的最佳方式是什么?谢谢!

Is there a way to have alert views pop up while the app is running in the background? The problem with Apple Push Notifications is the need for an internet connection. What is the best way to have local notifications without the need of an internet connection or server to push them out? Thanks!

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

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

发布评论

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

评论(2

把人绕傻吧 2024-12-21 15:43:10

您可以使用本地通知,但您必须设置它们弹出的特定时间...

you can use local notification, but you have to set a specific time for them to popup...

梦幻之岛 2024-12-21 15:43:08

您是否查看过 UILocalNotification

Did you have a look into UILocalNotification?

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