I want to schedule a local notification with a text like "Day 1" on first day and "Day 2" on second day like that:
let notificationSettings = UIUserNotificationSettings(forTypes: [.Alert, .Badge, .Sound], categories: nil)
UIApplication.sharedApplication().registerUserNotificationSettings(notificationSettings)
let notification = UILocalNotification()
notification.fireDate = // ex: 5 am
notification.alertBody = "Day 1" // on second day it want to be "Day 2" , on third day it want to be "Day 3" like that..
notification.alertAction = "be awesome!"
notification.soundName = UILocalNotificationDefaultSoundName
notification.userInfo = ["CustomField1": "w00t"]
UIApplication.sharedApplication().scheduleLocalNotification(notification)
Is there any possibility to do this?
User will receive a notification of first Day as "Day 1"
Second Day as "Day 2"
Third Day as "Day 3"
Is it possible to set a notification like that?