Contents

Views 2230 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



?

  1. [ios] GPS 이용 상태 확인

  2. [ios] 카메라 사용 권한 확인해서 분기하는 방법

  3. [c#] 툴바 현재 욜심히 만들고 있는거.. 백업용.. ㅋㅋ

  4. [ios] 상위 ViewController 가져오기

  5. 캘리포니아 운전면허 족보

  6. [kotlin] 코틀린 안드로이드 앱 버전/빌드 정보

  7. [ios] @property의 속성 (strong, weak, copy) 사용 경우

  8. [ios] 코코아 프로그래밍의 네이밍 룰(명명 규칙)

  9. [android] Android N requires the IDE to be running with Java 1.8 or later 오류

  10. [android] 레이아웃 사이즈 변경 (동적; programmatically)

  11. [php] 한글 문자열 자르기 (utf-8)

  12. [c] RSA 암호화 구현(gmp 라이브러리 활용)

Board Pagination Prev 1 ... 59 60 61 62 63 64 65 66 67 68 ... 71 Next
/ 71