프로그래밍/Objective C

APPLE :: Loading Screen(시작 로딩 화면)

청년코더 2010. 11. 10. 02:46
# Loading Screen

역시나 아래 글 그분(?)의 강좌에서 발췌!

간단히..

로딩화면으로 사용할 그림파일을 Default로 이름을 수정한뒤에 리소스 폴더에 집어넣고~ 

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {    

    sleep(5);

    // Override point for customization after application launch.


    // Add the view controller's view to the window and display.

    [windowaddSubview:viewController.view];

    [windowmakeKeyAndVisible];


    returnYES;

}


저 코드 한줄이면 끝.....

정말..끝..

시작화면은 기본설정으로 Default 이미지로 시작하게 되어있는걸 어디선가 본듯한...