Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
UITableViewController を継承しました。ステータス バーを非表示にするか、白い色にして、そのテーブルビューの背景が黒いので、ステータス バーが見えるようにします。
のように見えます
このコントローラーのみが白色であるか、完全に非表示になっています。
このメソッドをViewController
ViewController
-(BOOL)prefersStatusBarHidden { return YES; }
で、このメソッドを必要な場所で呼び出しますViewController。
[self prefersStatusBarHidden];