- //Hide
- [UIApplication sharedApplication].statusBarHidden = YES;
- //Show
- [UIApplication sharedApplication].statusBarHidden = NO;上面這段 code 在 (void)willAnimateSecondHalfOfRotationFromInterfaceOrientation: 裡面去跑的話,無法正確執行該功能.在willRotateToInterfaceOrientation 裡面可以
2010年9月28日 星期二
iPhone Status BAR change as orientation rotates.
訂閱:
文章 (Atom)