开发者

double status bar for iphone

I want to add double status bar state in my app, like 'in c开发者_运维百科all' or internet tethering so far I imported SBStatusBarController.h and

static Class $SBStatusBarController;

[[$SBStatusBarController sharedStatusBarController] setDoubleHeightMode:2 glowAnimationEnabled:YES bundleID:@"com.test.test"];
[[$SBStatusBarController sharedStatusBarController] setDoubleHeightStatusText:@"test" bundleID:@"com.test.test"];

put this code into my app. but still double height bar won't show up. What am I missing? (I am very novice, I'd be very appreciated if you be detailed)


This worked prior to 4.0.

The new statusbar classes are now in UIKit, specifically UIStatusBar. Dig around in those frameworks and you should be able to get this up and working.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜