objective c - IOS schedule action in fixed interval -


I am developing an app that I want to assign to an action in a fixed interval, in 5 minutes Even if the app is closed.

"post-text" itemprop = "text">

no way to run your app own if its Closed (i.e. terminated)

If in the background it still can not schedule itself to run a definite interval , but it can run in response to some external events And for the discretion of the OS.

You can post several local notifications before the app is closed and then if the user clicks on one, your app will go but every 5 minutes the user will be able to Posting a notification will be a very bad thing and possibly the app will be rejected from the app store.

There are some options such as local notifications and push notifications and background if you have an low frequency, which is not regular but irregular but 5 minutes is short, Therefore, there can be absolutely no solution out of the question.

In short this is: a) In the background some regular (all options are irregular: local push depends on user input, delivery time of remote push notification Depending on, the joy of the background depends on when the OS will decide that it will execute your app etc. etc. b) It is not possible to schedule some time randomly on the basis

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -