UNUserNotificationCenter

extension UNUserNotificationCenter

Internal

  • Schedules a local notification to fire 36 hours from now, if there isn´t a notification already scheduled

    Declaration

    Swift

    func scheduleDeadmanNotificationIfNeeded()
  • Reset the Deadman Notification, should be called after a successfull risk-calculation.

    Declaration

    Swift

    func resetDeadmanNotification()