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
iPhone画面サイズ

3.5inch 320 x 480px (Retina 640 x 960px) …

no image
CGAffineTransformIdentity

アフィン変換がされたビューを,初期状態(アフィン変換がされていない状態)に戻す …

eyechatch_xcode_tips-300x300
LaunchImage 関連の設定

▼アプリ起動時のスプラッシュ画面 通常はチラっと一瞬だけ表示されるスプラッシュ画 …

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

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

eyechatch_xcode_tips-300x300
テキストの文字間を詰める

UILabelなどで文字間を詰める(カーニング)したい時がちょいちょいあると思い …

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

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

no image
タッチイベント:有効・無効

// タッチイベントを有効にしたい場合の処理 [[UIApplication s …

eyechatch_xcode_tips-300x300
transform中の座標取得

CGAffineTransformを使用して画像を変化させている最中の座標取得方 …

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

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

eyechatch_xcode_tips-300x300
UIButton 同時押し制御

UIButton *myBtn = [UIButton alloc] init] …