Display app status in top bar
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 开发者_JAVA技巧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
Ok, found this link to the SBStatusBarController. So this answers the remaining questions.
Thanks again!
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...
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.
精彩评论