测试已测试 | ✗ |
语言语言 | Obj-CObjective C |
许可 | MIT |
发布最新发布 | 2015年4月 |
由 EwyynTomato 维护。
当应用程序进入后台时立即显示排队的本地通知。
#import "EWTBackgroundLocalNotification.h"
//Sample local notification
UILocalNotification *notification = [[UILocalNotification alloc] init];
[notification setAlertBody:@"message"];
[notification setTimeZone:[NSTimeZone defaultTimeZone]];
[notification setUserInfo:@{@"info":message}];
[EWTBackgroundLocalNotification queueLocalNotification:notification];