Send local notification when UITableViewCell is added

I have a table in my app that connects to a public database that is updated frequently. I am wanting to setup a local notification to be sent to the iOS devices any time a new row is added to that table. Would it be easier to setup a local notification or use something parse-enabled? If local, what is the best way to accomplish this?


Anthony

Replies

“a local notification to be sent to the iOS devices” is a bit of an oxymoron. By definition, a local notification is not sent anywhere. It is created on the device. Perhaps you meant “remote notification”?


In any case, the answer may depend on what this public database is and how the app connects. If you’re talking CloudKit, I think there are callbacks that you can set up to be informed of changes to the database, but for other technologies I suspect you would need to send a notification from code running on your server.