zoukankan      html  css  js  c++  java
  • swift开发笔记27 UserNotifications

     

    UNNotificationAction

    UNNotificationCategory

     

    UNCalendarNotificationTrigger

     

    UNMutableNotificationContent

    UNNotificationAttachment

    UNNotificationRequest

    /// Remove pending notifications to avoid duplicates.

            UNUserNotificationCenter.current().removeAllPendingNotificationRequests()

            /// Provide request to notification center.

            UNUserNotificationCenter.current().add(notiRequest) { (error) in

                if let error = error {

                    print("Error: " + error.localizedDescription)

                }

            }

     

  • 相关阅读:
    使用JDK创建webService
    eclipse换工作空间要做的事情
    JAVA输出表格(适配中英文)
    linux下如何用GDB调试c++程序
    C++编译的四个步骤
    linux下如何设置root密码(第一次)
    chp01、Dreamweaver介绍
    服务器端程序
    1_计算机网络概述
    Oracle Java JDBC: Get Primary Key Of Inserted Record
  • 原文地址:https://www.cnblogs.com/dengchaojie/p/8177169.html
Copyright © 2011-2022 走看看