UILocalNotification 本地通知

UIApplication *application = [UIApplication sharedApplication];
    UILocalNotification * notification = [[UILocalNotification alloc] init];
    notification.alertBody = str;
[application presentLocalNotificationNow:notification]; 後續再補充
相關文章
相關標籤/搜索