AOS_iOS_NRE_Sample/Nexacro17/iOS/nexacro17_iOS/nexacro17App/AppDelegate.m

39 lines
927 B
Mathematica
Raw Permalink Normal View History

2023-09-18 15:40:22 +09:00
//
// 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