Is there any way that two (or more) UILocalNotifications which fires at the exact same time can be merged together. Let’s say that I have two reminders that fires at 12.00PM today:
1) Wash the dishes
2) Buy milk
What I have right now is (since I have scheduled two separate timers) two single alerts coming up; one telling me to wash the dishes and the other to buy milk.
What I try to achieve is one alert, telling me both to wash the dishes and to buy milk.
I have read that for tasks like this one, APNS might be a better choice, but due to lack of a proper and stable server, and to keep the complexity as low as possible, I am researching to find out whether this could be done just using UILocalNotifications.
The only solution I have come up with is to create some logic that checks if there’s any notifications with the same fire dates and if there is, removing them both and creating a new, merged notification with information from both.
Any suggestions?
That’s exactly the way to go. It should not be very difficult to implement, either.