API参考UIKit

UILocalNotification

本地通知对象(旧)。可设置触发时间、提示文案、声音与 userInfo。

UILocalNotification 表示一条本地通知(旧接口)。它主要作为“数据对象”使用,用于配置通知的触发时间、提示文案与附加信息。

实例成员 (Instance members)

属性

属性类型说明
timeZoneNSTimeZone | null通知时区。
userInfoNSDictionary | null自定义附加信息。
alertBodystring | null提示文案。
soundNamestring | null声音名称。
fireDateNSDate | null触发时间。

类成员 (Class members)

当前接口未额外暴露 UILocalNotification 的类成员。

相关

头文件API清单

正在加载...

协议:JSBUILocalNotification,来源:-