带计时器的推送通知 - iPhone
我想向用户发送推送通知,但我希望它只出现几秒钟,而不是停留在屏幕上。我可以设置一个计时器来关闭收到的通知吗?
I would like to send a push notification to the user but I want it to appear only for few seconds and not to stay on the screen. Can I set a timer to close the received notification?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,你不能。推送通知的显示是在系统级别处理的,不幸的是,除了完全启用或禁用它们之外,您无法对它们进行任何控制。
No you can not. The display of push notifications is handled at the system level and unfortunately you don't have any control over them other than to enable or disable them entirely.