Commit fcbb23a0 authored by Michalis Masikos's avatar Michalis Masikos
Browse files

replace addSubview with setRootViewController in order to be compatible with...

replace addSubview with setRootViewController in order to be compatible with Xcode7, remove port 8080 from production appBaseURL
parent e91531db
......@@ -12,5 +12,5 @@
#ifdef CONFIGURATION_DEBUG
NSString* const appBaseURL = @"http://academicidappbuilder.grnet.gr:8080/admin/web/ws/users/";
#else
NSString* const appBaseURL = @"http://academicidapp.grnet.gr:8080/admin/web/ws/users/";
NSString* const appBaseURL = @"https://academicidapp.grnet.gr/admin/web/ws/users/";
#endif
......@@ -31,7 +31,11 @@
// Override point for customization after application launch.
// Add the view controller's view to the window and display.
[self.window addSubview:viewController.view];
//replace the following command in order to be compatible with xcode7
//[self.window addSubview:viewController.view];
[self.window setRootViewController:viewController];
[self.window makeKeyAndVisible];
return YES;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment