4,565,021 th visitor since 2017.2.1 ( Today : 220 )
Programming
No. 549
Name. swindler
Subject. Full Screen Mode
Main Cate. iOS
Sub Cate.
Date. 2009-01-27 12:14
Hit. 4762 (125.176.120.34)
File.
1.Info.plist 수정하는 방법

text editor로 열어서 아래를 추가한다

    <key>UIStatusBarHidden</key>
    <true></true>


2. AppDelegate.m 내의 아래 함수부분에 추가한다.


- (void)applicationDidFinishLaunching:(UIApplication *)application
{
    [UIApplication sharedApplication].statusBarHidden = YES;
}



2번의 경우에는 상단에 바가 약간 나타나는 문제가 있다.

Info.plist에서 off를 시키고 초기화면을 보여준 다음에
AppDelegate.m 에서 다시 On을 시키면
splash image 를 아주 이쁘게(?) 보여줄수 있다.

[바로가기 링크] : http://coolx.net/cboard/develop/549



swindler 소문에 상단에 날라간 20pixel이 터치가 안 먹는다고 하는데, 시뮬레이터에서만 발생하는 문제로 알려져 있다. 2009-01-27
Name
Password
Comment
Copyright © 1999-2017, swindler. All rights reserved. 367,611 visitor ( 1999.1.8-2004.5.26 ), 2,405,771 ( -2017.01.31)

  2HLAB   2HLAB_Blog   RedToolBox   Omil   Omil_Blog