iPhoneでステータスバーを消して全画面表示をした際のメモ。 以下をviewDidLoad内等に追記した。 //全画面表示 [UIApplication sharedApplication].statusBarHidden = YES; //画面サイズがxibファイル等で決まっていて、高さが合わない時はフルスクリーンサイズで上書きする。 [self.view setFrame:[[UIScreen mainScreen] bounds]]; [self.view setFrame:[[UIScreen mainScreen] bounds]];の部分は、 xibファイル等でステータスバーを消していない時に追記がいる。 このコードがなくても、以下をxib又はstoryboardで設定すればOKっぽい。 ・Status BarをNoneに設定 ・SizeをiPhone/iPod Touch
![ステータスバーを消して全画面表示 - Object for cutie](https://cdn-ak-scissors.b.st-hatena.com/image/square/b0d01b8a9158e3a427ed68c398c4f330abd00893/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Ft%2Ftanaponchikidun%2F20120401%2F20120401124215.png)