Tabs

iPhone&Androidのアプリ制作・デザイン

*

ステータスバーを隠す方法

      2015/01/17


スクリーンショット 2014-06-17 14.53.56

Deployment Info の Status Bar Style 下部にあるチェックボックス
Hide during application launch にチェックを入れる

スクリーンショット 2014-06-17 14.47.47

ステータスバーを隠すには上記画面のように
Custom iOS Target Properties の
View controller-based status bar appearance をNOに設定

備考:
ビュークラス毎にステータスバーの表示非表示を行いたい場合は、
(BOOL)prefersStatusBarHidden { return YES; }


 - Begin

  関連記事

no image
NSArray valueForkeypath関数

NSArrayやNSDictionaryを多用する人にお勧めですCoreData …

eyechatch_xcode_tips-300x300
UIButton 同時押し制御

UIButton *myBtn = [UIButton alloc] init] …

eyechatch_xcode_tips-300x300
負の数を絶対数へ変換 abs

負の数を自然数(マイナスを含まない数字)にしたくて、「Xcode 自然数 変換」 …

no image
UIImageViewにボタンを貼りたい場合

タイトル画面などを作りたい場合、UIImageViewを使用して背景などを作るこ …

eyechatch_xcode_tips-300x300
よく使うショートカット

Ctrl+6 : 表示中のクラスのメソッド一覧 さらにテキスト入力してインクリメ …

no image
UIImageView 画像の差し替え

[UIImageView alloc] 後の画像を変換する時は下記コードを参照し …

no image
UIView

タイトル画面の背景など、新たにビューを追加した場合 UIViewを生成し sel …

no image
画面ローテーション

画面ローテーションを制御する場合は下記を追加する – (BOOL)s …

no image
UILabelをコードで生成(Tips付)

Main Storyboard (IB)に用意されている Label を使わずに …

eyechatch_xcode_tips-300x300
ボタンに画像(背景)を指定する

// ボタンのサイズを指定する UIButton *startBtn = [[U …