title: Repeat interval for UNNotification
body: <p>There is an option to set the repeat interval for UILocalNotification. Since Apple has deprecated UILocalNotification and recommend to use UNNotification instead, I couldn't find a way to set a notification with custom repeat interval with UNNotification.</p>
  
  <pre><code>    var comp = DateComponents()
      comp.year = 2019
      comp.month = 1
      comp.day = 9
      comp.hour = 14
      comp.minute = 14
      comp.second = 0
      let calendar = Calendar.current
      let notification: UILocalNotification = UILocalNotification()
      notification.category = "Daily Quote"
      notification.alertBody = "Body"
      notification.alertTitle = "Title"
      notification.fireDate = calendar.date(from: comp)
      notification.repeatInterval = NSCalendar.Unit.day
      UIApplication.shared.scheduleLocalNotification(notification)
  </code></pre>
  
  <p>So can I set a similar notification that repeats hourly or daily after waiting for the initial notification using the new UNNotification?</p>