iOS: Pulsing red double-height status bar

后端 未结 1 1997
醉话见心
醉话见心 2020-12-22 05:36

I am developing a recording app, and I\'d like to show a pulsing red double-height status bar on top of my app while the app is recording, and while the user is still in the

相关标签:
1条回答
  • 2020-12-22 06:10

    to answer the last question first: it is possible, though i don't know whether the mechanism for causing to happen in other apps can be applied to your own.

    to answer your next to questions "how do i do that? any hints?": one hint would be to simply hide the [UIApplication sharedApplication] statusBar inside of your app conditionally based up whether you are in record mode or not, and create your own pulsing status bar to simulate the one that is being presented in other apps. i hide the status bar conditionally in one of my apps, and you can then present whatever you want in the status bar area.

    0 讨论(0)
提交回复
热议问题