Reputation: 17
I'm working on an app with CoreData
which lets you type in items with a name and a date. Now I want the app to give the user a notification if the date of the item is, for example, in 5 days.
So an alert pops up and says: "Hey in 5 days is bla bla bla". So basicaly it's like the reminder app from Apple.
So the question is - do I need the PushNotification
service to make this happen or is there another solution? I mean basically the whole app does not need any internet.
So what am I gonna do to make this feature? Do I need some kind of web server with a database?
Upvotes: 0
Views: 420
Reputation: 2579
You can definitely achieve this using Local Notifications. That way you will not need any internet connection at all. Here is a good tutorial:
Upvotes: 0
Reputation: 4286
Check the Local notification APIs. It works like the remote notification, but does not require internet and lets you schedule the notification event.
You'll find some sample code here
Upvotes: 2