msn013
msn013

Reputation: 103

How to fire scheduled notification with different content in Swift?

I have the iOS app on Swift (UIKit). Let's say I have the next array: ["a","b","c","d","e","f","g","j","h","k"]

I would like to:

While implementing that I came across with the next issues:

Upvotes: 2

Views: 156

Answers (1)

matt
matt

Reputation: 536027

A local notification cannot run any code when it fires. It has a fixed payload and that is what displays. The notification does not pass thru your app after you schedule it; the system does the firing and displaying for you. So a local notification is probably not what you are looking for here.

Upvotes: 1

Related Questions