UNUserNotificationCenter.RemovePendingNotificationRequests(String[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从通知中心删除具有指定 identifiers
的任何 的应用的所有挂起通知请求。
[Foundation.Export("removePendingNotificationRequestsWithIdentifiers:")]
public virtual void RemovePendingNotificationRequests(string[] identifiers);
abstract member RemovePendingNotificationRequests : string[] -> unit
override this.RemovePendingNotificationRequests : string[] -> unit
参数
- identifiers
- String[]
要删除其相应通知请求的标识符。
- 属性