How to schedule different push notifications for a particular user using SWIFT

I am wondering if it's possible to do the following:

An user can save a lot of dates, for example: the date right now is 12/02/15 09:00, and the user saves two dates: 12/02/15 09:10 and 12/02/15 09:20. Then he closes the app. What I want to do is send a notification for this particular user at 09:10 and another at 09:20 to remember him of something.

Is it possible? I am using swift 2

Answers


It's not Swift, but you can get the idea from here. Hope it helps. https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/IPhoneOSClientImp.html

How to create multiple Local Notifications


Need Your Help

How can I change BaseUrl for twilio-csharp?

c# .net twilio

Due to last Twilio news about updating api.twilio.com with a SHA2-signed certificate, I decided to test my processes with api.twilio.com:8443. For REST requests I'm using twilio-csharp via NuGet an...

Scope of variables in if statements

c++ constructor scope

I have a class that has no default constructor or assignment operator so it is declared and initialized within an if/else statement depending on the result of another function. But then it says tha...