UILocalNotification 本地通知

UIApplication *application = [UIApplication sharedApplication];
    UILocalNotification * notification = [[UILocalNotification alloc] init];
    notification.alertBody = str;
[application presentLocalNotificationNow:notification]; 后续再补充
相关文章
相关标签/搜索