title: UNUserNotificationCenter alerts only firing when unlocked/app in foreground
body: <p>I am working on an iOS/Apple Watch app, which includes a timer. When the timer is set, it sets a local alert to fire when the timer completes. It works great when the app is open and in the foreground, but does not alert on the lock screen or if you switch apps.</p>
  <p>Same behavior iOS and Watch
  The app is requesting <code>.alert</code>, <code>.sound</code>, and <code>.badge</code> permissions, and all are granted.
  I have tried firing in <code>x</code> seconds vs. at a specified time, same behavior
  I saw someone say it needed to run over 60 seconds, that did not change the outcome.</p>
  <p>Relevant code:</p>
  <pre><code>            UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .sound, .badge]) { success, error in
                  if  success {
                      print(&quot;Notification Permission Set&quot;)
                  } else if let error = error {
                      print(error.localizedDescription)
                  }
              }
              
              let content = UNMutableNotificationContent()
              content.title = &quot;LE Timer&quot;
              content.subtitle = &quot;Timer Complete&quot;
              content.sound = UNNotificationSound.default
              let trigger = UNTimeIntervalNotificationTrigger(timeInterval: runFor, repeats: false)
              notificationId = UUID().uuidString
              let request = UNNotificationRequest(identifier: notificationId, content: content, trigger: trigger)
              UNUserNotificationCenter.current().add(request)
  </code></pre>