39 lines
927 B
Mathematica
39 lines
927 B
Mathematica
|
//
|
||
|
// AppDelegate.m
|
||
|
// nexacro17App
|
||
|
//
|
||
|
// Created by 김재환 on 2016. 11. 24..
|
||
|
// Copyright © 2016년 com.tobesoft. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "AppDelegate.h"
|
||
|
@implementation AppViewController
|
||
|
|
||
|
// 자동 회전 지원 여부 (YES/NO)
|
||
|
- (BOOL)shouldAutorotate
|
||
|
{
|
||
|
return YES;
|
||
|
}
|
||
|
|
||
|
// 회전방향 지원 유무 리턴 (리턴값은 회전 방향의 비트값이 설정된 플러그)
|
||
|
- (UIInterfaceOrientationMask)supportedInterfaceOrientations
|
||
|
{
|
||
|
return UIInterfaceOrientationMaskAll;
|
||
|
}
|
||
|
|
||
|
@end
|
||
|
|
||
|
@implementation AppDelegate
|
||
|
|
||
|
- (NexacroMainViewController*)initializeMainViewController
|
||
|
{
|
||
|
NSString *bootstrapUrl = @"http://172.10.12.59:8080/nexacro17/TopsIssueLoader/_ios_/start_ios.json";
|
||
|
|
||
|
[[NexacroResourceManager sharedResourceManager] setBootstrapURL:bootstrapUrl isDirect:NO];
|
||
|
AppViewController* controller = [[AppViewController alloc] initWithFullScreen:NO];
|
||
|
|
||
|
return controller;
|
||
|
}
|
||
|
|
||
|
@end
|