Work in background or perform tasks while not running app

Hi,

We are building a security app where we need to run periodic checks to deliver some features. We have analysed following options but we understand all these are not fail proof and sometimes our app will not be able to perform in background:
  1. Background fetch/tasks

  2. APNS

Is there any more reliable way to perform tasks when app is not running in background? Thank you


Replies

We are building a security app where we need to run periodic checks to
deliver some features.

iOS has no mechanism that guarantees periodic execution time in the background.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Thank you for your response. We are thinking of using a hybrid approach to increase our chances of getting triggered in background. So apart from above mentioned 2 options, are there any more iOS provided techniques we can leverage?
Most of the other approaches require that you enable a specific background mode, and using those background modes is closely scrutinised by App Review (per clause 2.5.4 of the App Store Review Guidelines).

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"