rOrlig
rOrlig

Reputation: 2529

IOS Swift ongoing notifications

I wanted to know if it is possible to create ongoing notifications in IOS similar to the ones in Android. I have seen e.g. with Voice Recording applications, that after pressing record, the user can click the home button and red bar covers the top bar (same thing if the user is on a call).

I want to create a stop-watch with the additional functionality of the top bar ongoing notification so that the user knows that the stopwatch is running.

Thanks

Upvotes: 1

Views: 699

Answers (1)

Léo Natan
Léo Natan

Reputation: 57050

Modifying the status bar is not possible.

The best you can achieve is with a widget, where you can start/stop your stopwatch, etc. Starting with iOS 10, you can have rich notifications as well, but they still have to be triggered by the user, and I don't think that fits what you need.

Upvotes: 1

Related Questions