-
-
Save Sutto/5127388 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UILocalNotification *localNotification = [UILocalNotification new]; | |
NSDate *dateToFire = [[NSDate date] dateByAddingTimeInterval:2]; | |
localNotification.fireDate = dateToFire; | |
localNotification.alertBody = @"Time to update your profile"; | |
localNotification.soundName = UILocalNotificationDefaultSoundName; | |
[[UIApplication sharedApplication] scheduleLocalNotification:localNotification]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment