在iOS中创建持久通知 [英] Create a persistent notification in iOS

查看:101
本文介绍了在iOS中创建持久通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在iOS中创建无法解散的通知?它甚至可以是一种解决方法(例如,监听通知被清除并在此之后显示新的通知)。

Is there any way to create a notification that cannot be dismissed in iOS? It can even be a workaround (e.g. listening for the notification to be cleared and showing up a new one just after that).

推荐答案

不。你可以安排一堆通知,但那是不同的。通知被取消后无法收听,将其保留在屏幕上,或做任何改变其性能的事情,因为它们都是在您的应用程序之外处理的。

No. You could schedule a bunch of notifications but that's different. There is no way to listen to when the notification is dismissed, keep it on the screen, or do anything that changes it's performance as it's all handled outside of your app.

这篇关于在iOS中创建持久通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆