We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Now while we use the new notifications framework, repeats option is Boolean.
repeats
var trigger = UNTimeIntervalNotificationTrigger.withTimeInterval(5.0, repeats: false)
But earlier, in UILocalNotification, we could specify different repeatIntervals.
repeatInterval
localNotification.repeatInterval = .Minute
localNotification.repeatInterval = .Month
Is there a way to do that in the new framework?
The text was updated successfully, but these errors were encountered:
@mohan-shyam Perhaps, your problem could be solved with UNCalendarNotificationTrigger. See https://developer.apple.com/reference/usernotifications/uncalendarnotificationtrigger
Sorry, something went wrong.
@hokim-m , thank you. I seem to have arrived at a solution, although there are many situations which can't be implemented with the new framework.
Please find the solution at, http://stackoverflow.com/questions/37804287/how-do-i-set-an-nscalendarunitminute-repeatinterval-on-ios-10-usernotifications/39784684#39784684
No branches or pull requests
Now while we use the new notifications framework,
repeats
option is Boolean.var trigger = UNTimeIntervalNotificationTrigger.withTimeInterval(5.0, repeats: false)
But earlier, in UILocalNotification, we could specify different
repeatInterval
s.localNotification.repeatInterval = .Minute
localNotification.repeatInterval = .Month
Is there a way to do that in the new framework?
The text was updated successfully, but these errors were encountered: