ios6只需要以下
[[UIApplication sharedApplication] setStatusBarHidden:YES];
ios7
[[UIApplication sharedApplication] setStatusBarHidden:YES];且在plist中設定View controller-based status bar appearance,如圖:
As always , if you have any question , feel free to contact me.
有任何問題,請聯絡我
歡迎轉載,請註明出處,感謝。
沒有留言:
張貼留言