2

I have a application in Android that has a broadcast receiver that clear any existing alarms and triggers a new repeating alarm, daily, which starts a service to show a notification. This is all done on background, app not running.

I really don't understand the iPhone docs if this is allowed due the "background service" guidance by Apple.

Is this all doable in iPhone? How? Can I have some sort of broadcast receiver running every day, then start a service to show notification if the date meets some requirements, and cancel it if not.

Thanks for any help

micadelli
  • 2,482
  • 6
  • 26
  • 38
  • 1
    Possible duplicate of [Can iOS receive broadcasts like Android?](http://stackoverflow.com/questions/10213125/can-ios-receive-broadcasts-like-android) – Daniele D. Apr 07 '16 at 09:58

1 Answers1

2

Look at Local/Push Notification. They are the only way you can periodically/remotely do something in iOS when application is not running. But both of them show notification to user and this is not good if you don't want to disturb user. And also there is no Broadcast Receiver in iOS as in iPhone due to the battery issues.

fatih
  • 1,171
  • 2
  • 14
  • 26