AppyMike
AppyMike

Reputation: 2064

Leap Year Local Notification

If I was to set a NSLocalNotification with a fire date of 29th Feb 2016 (which is a leap year) and to have a yearly repeat of the notification would it only fire every leap year or does it also fire on non leap years (1st March)?

Upvotes: 2

Views: 107

Answers (1)

AppyMike
AppyMike

Reputation: 2064

After testing it on the device I found that it does fire every year but fires on the 28th Feb on non leap years.

Intrestingly on leap years (apart from the initial one, 2016 in this case) it fires on both the 28th and 29th.

Upvotes: 1

Related Questions