Develop
2015.02.12 11:51
[ios] StoryBoard(xib) 없이 프로젝트 만들기
Views 2230 Comment 0
Attachment '1' |
---|
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
-
[ios] GPS 이용 상태 확인
-
[ios] 카메라 사용 권한 확인해서 분기하는 방법
-
[c#] 툴바 현재 욜심히 만들고 있는거.. 백업용.. ㅋㅋ
-
[ios] 상위 ViewController 가져오기
-
캘리포니아 운전면허 족보
-
[kotlin] 코틀린 안드로이드 앱 버전/빌드 정보
-
[ios] @property의 속성 (strong, weak, copy) 사용 경우
-
[ios] 코코아 프로그래밍의 네이밍 룰(명명 규칙)
-
[android] Android N requires the IDE to be running with Java 1.8 or later 오류
-
[android] 레이아웃 사이즈 변경 (동적; programmatically)
-
[php] 한글 문자열 자르기 (utf-8)
-
[c] RSA 암호화 구현(gmp 라이브러리 활용)