Closed joereddington closed 6 years ago
Starting the mapping.
We've commited and found the webpage
I'm using this code:
UILocalNotification* localNotification = [[UILocalNotificationalloc] init];
localNotification.fireDate = [NSDate dateWithTimeIntervalSinceNow:60];
localNotification.alertBody = @"Your alert message";
localNotification.timeZone = [NSTimeZone defaultTimeZone];
[[UIApplication sharedApplication] scheduleLocalNotification:localNotification];
but warned is deprcated... hmmm.
Running, but diesn't giving me the notification. Hmm.. also the app isn't listed in the notificaitons menu...
Trying code from all over...
Ah-ha! This place sorted me out: https://useyourloaf.com/blog/local-notifications-with-ios-10/ - I needed to ask permission with the app first and now I do. Okay now to commit and get it actually working.
I've committed and it appears to be actualyl working. That's crazy. Okay. Better do some work now.
This works fine. Might be causing some slowdowns tho...
We want local notifications .
Resources
The first page we found
[x] Check that the changes you made to logging are working
[x] Commit
[ ] Find webpage you used
[ ] See if you can get hello world working as a local notification
[ ] add a local notification as a 60-second warning.