After my user logs in the app pulls down a list of their meetings and adds them as UILocalNotification
.
Each time the user launches the app and logs in this happens.
Which of the following is better "practice" when it comes to doing this over and over:
Pull all the location notifications with
scheduledLocalNotifications
then as I cycle through the downloaded meetings check to see if a local notification already exist for that meeting. If so, don't add it.Use
cancelAllLocalNotifications
to clear all the local notifications and add them over.
It seems that #1 would be the right way but I'm concerned that if I have a meeting at the same time as another (it happens), it will view it as already added and won't add the new one.