I'm trying to fire a timer in a notification service extension, but what would work in the app doesn't work in the extension i.e.
Timer.scheduledTimer(timeInterval: 8.0, target: self, selector: #selector(doSomeStuff2), userInfo: nil, repeats: false)
or
Timer.scheduledTimer(withTimeInterval: 7.0, repeats: false) { timer in
...
}
and so on, etc.
Is that a way of getting a timer to fire in an extension?