Post

Replies

Boosts

Views

Activity

Popping application from background state
I am working on an application for an alarm clock to publish that focuses on forcing the user to complete various tasks to stop the alarm for heavy sleepers. I am trying to get the functionality for popping the application to the foreground after the timer is called (active alarm clock) similar to how "Alarmy" does it, however I am running into issues figuring out exactly how to do it. I see that with certain permissions enabled, I believe I can use event kit, however I do not see how to bring the application to foreground to start the actual tasks to turn off the alarm from the application. Am I missing something here or is this not allowed? I have seen some references to keeping silent audio playing to maintain background functionality for as long as you want, but I feel like that is a very bad solution that will potentially cause issues later with Apple review, so I'd prefer to not go that route.
1
0
623
Dec ’21