HomeiOS Developmentswift - The way to repeatedly replace iOS LiveActivity with out push...

swift – The way to repeatedly replace iOS LiveActivity with out push notifications?


I am attempting to increase my app with a function that may be present in numerous music streaming apps: Show a LiveActivity on the lockscreen that reveals a at the moment working occasion with remaining time. After this occasion has expired, the following one ought to be displayed, and so forth.
I wish to obtain this with out utilizing push notifications (too complicated for my functions).

What I’ve tried to date:

  • Run a timer, however it stops a number of seconds after the app is shipped to
    the background.
  • Begin a background job, however the system doesn’t
    execute it reliably, however reasonably at its personal discretion.

All tutorials I discovered solely implement updates from the lively app, e.g. by way of buttons.

Query: Is that this even doable with out push notification?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments