Contents

Views 1149 Comment 0
Atachment
Attachment '1'
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

AppDelegate.h

#import <UIKit/UIKit.h>
#import "MainViewController.h"

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) UINavigationController *navigationController;
@property (strong, nonatomic) MainViewController *mainViewController;

@end


AppDelegate.m

#import "AppDelegate.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application
    didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    // Override point for customization after application launch.

    self.window = [[UIWindow alloc]
        initWithFrame:[[UIScreen mainScreen] bounds]];
    self.window.backgroundColor = [UIColor whiteColor];
    
    self.mainViewController = [[MainViewController alloc] init];
    self.navigationController = [[UINavigationController alloc]
        initWithRootViewController:_mainViewController];
    //[self.navigationController setNavigationBarHidden:YES];
    self.window.rootViewController = _navigationController;
    [self.window makeKeyAndVisible];
    
    return YES;
}

...

@end



?

List of Articles
No. Category Subject Author Date Views
145 Develop [js] 후리자(영규) 스타일들.. file hooni 2013.04.23 7174
144 Develop [js]모바일 웹에서 orientationchange hooni 2013.04.23 19429
143 Develop [kotlin] 코틀린 안드로이드 앱 버전/빌드 정보 hooni 2020.12.15 979
142 Develop [lego] 세그웨이 이것만 볼것.. ㅎㅎ file hooni 2013.04.23 33577
141 Develop [linux] CentOS Apache 웹서버에 HTTPS 적용 hooni 2015.10.23 914
140 Develop [linux] crond 사용법.. ㅋㅋ hooni 2013.04.23 7272
139 Develop [linux] tar 명령어 뽀개기.. ㅋㅋ hooni 2003.04.23 7788
138 Develop [linux] 날짜나 파일의 내용으로 검색하는 방법(find 명령 사용) hooni 2013.04.23 8148
137 Develop [linux] 쉘 스크립트를 이용한 BBS hooni 2003.04.23 10080
136 Develop [linux] 임베디드 리눅스 (embedded linux) file hooni 2013.04.23 7382
135 Develop [linux] 프로세스 관련 시스템콜 hooni 2003.04.23 7871
134 Develop [matlab] ZigZag-Scanning (2-D Array) file hooni 2016.10.15 2109
Board Pagination Prev 1 ... 54 55 56 57 58 59 60 61 62 63 ... 71 Next
/ 71