Code Note: iOS-ios7 StatusBar, ios-ios7statusbar
Code:
RootViewController. m
# Import "RootViewController. h "@ interface RootViewController () @ end @ implementation RootViewController-(id) initWithNibName :( NSString *) bundle :( NSBundle *) handle {self = [super initWithNibName: nibNameOrNil bundle: nibBundleOrNil]; if (self) {// Custom initialization} return self;}-(void) viewDidLoad {[super viewDidLoad]; // Do any additional setup after loading the view. self. title = @ "UIStatus"; // animation effect [UIView animateWithDuration: 3 animations: ^ {[self Testing] ;}];}-(void) didreceivemorywarning {[super didreceivemorywarning]; // Dispose of any resources that can be recreated .} # pragma mark IOS 7 UIStatusBar // animation effect-(UIStatusBarAnimation) Resume {return blank ;}// style-(UIStatusBarStyle) preferredStatusBarStyle {return UIStatusBarStyleDefault ;} // display and hide-(BOOL) prefersStatusBarHidden {return FALSE;} @ end