Skip to main content

删除本地推送(DeleteLocalNotifications)

iOS

如果您使用的是 Unreal Engine,请参见 Unreal Engine SDK 的 DeleteLocalNotifications。

通过 AddLocalNotification 使用的 NotificationID 来删除本地推送。

函数定义​

public static void DeleteLocalNotifications (string key);

入参说明​

参数类型说明
keystringkey 为 AddLocalNotification 使用的 NotificationID

代码示例​

INTLAPI.DeleteLocalNotifications("123");