iphone - Write some text in (or on) UIStatusBar -
i know, it's strange question ^^,
i know if there way write text in (or on) uistatusbar. in particular want write text on status bar when user press uibutton.
thanks!
i'm not sure if can draw directly status bar, should able draw on top of in custom view. can get status bar's frame using:
cgrect statusbarframe = [[uiapplication sharedapplication] statusbarframe];
and can get application's main window (presumably status bar's superview) using:
uiwindow *mainwindow = [[uiapplication sharedapplication] keywindow];
you should able add custom view directly key window in status bar's frame. example of app appears "modify" status bar, take @ reeder.
Comments
Post a Comment