mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
39 lines
1003 B
Swift
39 lines
1003 B
Swift
//
|
|
// NotificationController.swift
|
|
// BlueWalletWatch Extension
|
|
//
|
|
// Created by Marcos Rodriguez on 3/6/19.
|
|
|
|
//
|
|
|
|
import WatchKit
|
|
import Foundation
|
|
import UserNotifications
|
|
|
|
|
|
class NotificationController: WKUserNotificationInterfaceController {
|
|
|
|
override init() {
|
|
// Initialize variables here.
|
|
super.init()
|
|
|
|
// Configure interface objects here.
|
|
}
|
|
|
|
override func willActivate() {
|
|
// This method is called when watch view controller is about to be visible to user
|
|
super.willActivate()
|
|
}
|
|
|
|
override func didDeactivate() {
|
|
// This method is called when watch view controller is no longer visible
|
|
super.didDeactivate()
|
|
}
|
|
|
|
override func didReceive(_ notification: UNNotification) {
|
|
// This method is called when a notification needs to be presented.
|
|
// Implement it if you use a dynamic notification interface.
|
|
// Populate your dynamic notification interface as quickly as possible.
|
|
}
|
|
}
|