UNUserNotificationCenter.RemovePendingNotificationRequests(String[]) 方法

定义

从通知中心删除具有指定 identifiers 的任何 的应用的所有挂起通知请求。

[Foundation.Export("removePendingNotificationRequestsWithIdentifiers:")]
public virtual void RemovePendingNotificationRequests (string[] identifiers);
abstract member RemovePendingNotificationRequests : string[] -> unit
override this.RemovePendingNotificationRequests : string[] -> unit

参数

identifiers
String[]

要删除其相应通知请求的标识符。

属性

适用于