ariane26
ariane26

Reputation: 183

How can I set badge count of iOS app from its today extension?

I'm looking for a way to update the badge count of iOS app icon from its iOS8 today extension. Today extension has a button and by touching that button, user can increase or decrease badge count of iOS app. Can anyone help me with this?

PS: I need to update the badge count without reopening the app even when the app is terminated.

Upvotes: 2

Views: 1248

Answers (1)

WebDev
WebDev

Reputation: 602

As you already have created group, you can keep a file in the group folder and add a filewatcher in extension, update the file from app, and filewatcher will catch the change, and your work is done.

Upvotes: 0

Related Questions