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)

                }

            }

     

  • 相关阅读:
    Matrix Chain Multiplication[HDU1082]
    Color a Tree[HDU1055]
    Piggy-Bank[HDU1114]
    Catching Fish[HDU1077]
    用单位圆覆盖尽量多的点
    LianLianKan[HDU4272]
    Travelling
    求多边形面积
    方格取数(1)
    Pebbles
  • 原文地址:https://www.cnblogs.com/dengchaojie/p/8177169.html
Copyright © 2011-2022 走看看