2

I'm trying to reproduce something that an iPad app called Mailbox is doing. The app is somehow able to control the status bar in ways I can't figure out. The follow picture shows an app state where the main screen panel is shifted to the right, and somehow the status bar has moved off to the right as well:

enter image description here

The follow picture shows the app when it's temporarily replaced the status bar with a simple label that contains custom text ("Mailbox in sync"). When you pull the messages list to refresh, it appears that the main status bar slides up out of site and then this custom label slides down in its place:

enter image description here

Anybody know how this is being done?

Rob
  • 371,891
  • 67
  • 713
  • 902
MusiGenesis
  • 71,592
  • 38
  • 183
  • 324
  • The first picture is reproducible using [MSDynamicsDrawerViewController](https://github.com/monospacecollective/MSDynamicsDrawerViewController/) - perhaps the code there might help? – colincameron Dec 05 '13 at 15:06
  • @AaronBrager: thanks, that answer has exactly what I'm looking for. I figured they were hacking this with a screenshot. – MusiGenesis Dec 05 '13 at 15:12
  • No problem. I don't like this approach because the time / signal strength / battery stop updating, which can be confusing / annoying to users. – Aaron Brager Dec 05 '13 at 15:29
  • They probably poll every few seconds and take a fresh screenshot of the status bar. I don't like it either, and I'm surprised Apple didn't establish a no-mucking-with-the-statusbar rule. – MusiGenesis Dec 05 '13 at 16:00

0 Answers0