3

The Evernote iPhone app displays a "second" status bar at the top to keep the user informed about the progress of the synchronization without blocking the rest of the user interface.

You can see the green bar in this screenshot: http://img706.imageshack.us/img706/5024/fotowx.png

How would you implement such a bar? Moving down the view of the navigation controller and adding the status bar as a subview to the window?

Is it even called status bar? Didn't know how to name it..

Thanks in advance for your answers Martin

Martin Reichl
  • 932
  • 9
  • 13

3 Answers3

2

Ok, found this link to the SBStatusBarController. So this answers the remaining questions.

Thanks again!

Martin Reichl
  • 932
  • 9
  • 13
1

I've just started looking for this too. I just saw this browsing on my iPhone, so I haven't checked to see if this is directly applicable or functional, but this might be what we want:

http://www.cocoabyss.com/uikit/custom-status-bar-ios/

[EDIT]

I don't think this is what we're after ... It looks like it's just an overlay for the main status bar ... not an animated insert of a second status bar...

Greg Combs
  • 4,252
  • 3
  • 33
  • 47
  • But nice to know! Thanks anyway! – Martin Reichl Feb 02 '11 at 15:49
  • This seems to be the best implementation to get us "close" to Evernote. https://github.com/myell0w/MTStatusBarOverlay ... It doesn't get us the attractive double-height bar like the newer Evernote, but it's not bad. – Greg Combs Mar 06 '11 at 23:35
  • I love all the folks on GitHub who see some cool UI element in a new app and recreate it for the masses ... this is one of those cases. Awesomeness! https://github.com/MugunthKumar/MKInfoPanelDemo – Greg Combs Jun 02 '11 at 05:09
0

This is the doubleHeightStatusBar. It is available in the UIStatusBar class and is only accessible if you have a jailbroken device with the Private Framework headers.

I'm not sure how Evernote obtained this and passed Apple approval.

WrightsCS
  • 50,551
  • 22
  • 134
  • 186
  • I'm not sure how Evernote obtained this and passed Apple approval. That's what I'm asking myself. – Martin Reichl Jan 26 '11 at 22:11
  • Ok my app is distributed ad-hoc. Does the double size status bar only work on JB-devices? And do you know any documentation for that beast? – Martin Reichl Jan 26 '11 at 22:13
  • Reeder has the same implementation, so it can't be a conspiracy. – Alan Zeino Jan 26 '11 at 22:20
  • It would be pretty easy to create a single parent view with a custom bar at the top, and a standard `UINavigationController` in the space beneath it. No need to use `doubleHeightStatusBar` at all. – e.James Jan 26 '11 at 22:25
  • @e.James That may go against Apple HIG though. – WrightsCS Jan 26 '11 at 22:26
  • @WrightCS: The G does stand for *guidelines* `:)` There are plenty of accepted apps that do not follow Apple's HIG to the letter. – e.James Jan 26 '11 at 22:28