LoginSignup
23
21

More than 5 years have passed since last update.

iOSアプリのステータスバーを非表示にする

Posted at

ステータスバーを表示させないアプリを作りたいとき。
起動画面と起動後の画面を個別に設定する。

起動画面のステータスバーを非表示にする

プロジェクト設定のTARGETS > General > Development Info > Status Bar StyleのHide during application launchのチェックを入れる。

スクリーンショット 2014-11-29 12.21.13.png

起動後のステータスバーを非表示にする

プロジェクト設定のTARGETS > Infoで+を押して行を追加、
View controller-based status bar appearance
を選択してvalueにNOを入れる。

スクリーンショット 2014-11-29 12.19.38.png

23
21
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
23
21