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)

                }

            }

     

  • 相关阅读:
    接竹竿
    Vijos P1053 Easy SSSP
    计算机网络-五层协议和物理层
    代码阅读
    selenium自动化测试原理和设计的分享
    appium desktop 1.7 byName不能用,重写
    appium desktop 1.7 的swipe功能不能用,重写。
    appium在不同类中使用的是同一个session
    GIT 上传、ssh设置、一些命令。
    java 学习:在java中启动其他应用,由jenkins想到的
  • 原文地址:https://www.cnblogs.com/dengchaojie/p/8177169.html
Copyright © 2011-2022 走看看