Views 1063 Votes 0 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
665 Develop [php] Connect to Firebase Console in Laravel file hooni 2018.05.09 3106
664 Develop [ios] 커스텀 폰트 사용하기 (Custom Fonts) file hooni 2014.04.30 3131
663 Develop [ios] CoreData 사용하기 (튜토리얼) hooni 2014.03.28 3174
662 Develop [ios] Xcode를 사용해서 Static Library 만들기 (시뮬레이터 + 디바이스) file hooni 2015.01.03 3276
661 Develop [c#] 툴바 소스.. 개인적으로 만드는거.. secret hooni 2013.04.23 3304
660 Develop [ios] 앱 딜리게이트 얻어오기. (AppDelegate) hooni 2014.05.10 3339
659 Develop [android] dp, px 서로 변환 hooni 2016.10.21 3371
658 Develop [ios] Sprite Kit & 사운드 재생시 백그라운드 진입시 앱이 비정상적으로 종료됨 hooni 2014.04.18 3385
657 Develop [ios] NSString URL Encode/Decode (인코딩/디코딩) hooni 2014.05.02 3412
656 Develop [ios] 아이폰에서 진동(Vibrate) 기능 추가하기 hooni 2014.04.18 3450
655 Develop [js] jQuery 셀 병합 1 file hooni 2014.09.23 3488
654 Develop [ios] iOS에서 디바이스 종류 알아오기 hooni 2014.05.24 3643
653 Develop [ios] 유용한 매크로 hooni 2014.03.26 3652
652 Develop [ios] UIWebView 캐쉬 삭제 hooni 2014.04.08 3660
651 Develop [ios] URL 파라미터 파싱~ hooni 2014.05.12 3668
650 Develop [ios] SQLite 사용하기(튜토리얼) + 샘플코드 file hooni 2014.03.28 3695
Board Pagination Prev 1 ... 10 11 12 13 14 ... 53 Next
/ 53