UNUserNotificationCenter
extension UNUserNotificationCenter
-
Undocumented
Declaration
Swift
func presentNotification( title: String, body: String = "", identifier: String = UUID().uuidString, in timeInterval: TimeInterval = 1 )
-
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()