diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-12-03 00:23:09 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-12-03 00:23:09 -0500 |
| commit | e760f95dc843cf11367d1aea0ed832991964584a (patch) | |
| tree | cf03b343ef830c58f2b12aa0c76135fca58489c9 /StoneIsland/platforms/ios/Stone Island/Classes | |
| parent | 0a55602cb98fea35632f8f11e840c65cc9011018 (diff) | |
rebuild project
Diffstat (limited to 'StoneIsland/platforms/ios/Stone Island/Classes')
4 files changed, 10 insertions, 6 deletions
diff --git a/StoneIsland/platforms/ios/Stone Island/Classes/AppDelegate.h b/StoneIsland/platforms/ios/Stone Island/Classes/AppDelegate.h index 2587ce10..ee3f0764 100644 --- a/StoneIsland/platforms/ios/Stone Island/Classes/AppDelegate.h +++ b/StoneIsland/platforms/ios/Stone Island/Classes/AppDelegate.h @@ -19,7 +19,7 @@ // // AppDelegate.h -// HelloCordova +// Stone Island // // Created by ___FULLUSERNAME___ on ___DATE___. // Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved. @@ -32,7 +32,7 @@ @interface AppDelegate : NSObject <UIApplicationDelegate>{} // invoke string is passed to your app on launch, this is only valid if you -// edit HelloCordova-Info.plist to add a protocol +// edit Stone Island-Info.plist to add a protocol // a simple tutorial can be found here : // http://iphonedevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html diff --git a/StoneIsland/platforms/ios/Stone Island/Classes/AppDelegate.m b/StoneIsland/platforms/ios/Stone Island/Classes/AppDelegate.m index 79e57538..c2d42df8 100644 --- a/StoneIsland/platforms/ios/Stone Island/Classes/AppDelegate.m +++ b/StoneIsland/platforms/ios/Stone Island/Classes/AppDelegate.m @@ -19,7 +19,7 @@ // // AppDelegate.m -// HelloCordova +// Stone Island // // Created by ___FULLUSERNAME___ on ___DATE___. // Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved. @@ -92,7 +92,7 @@ } // this happens while we are running ( in the background, or from within our own app ) -// only valid if HelloCordova-Info.plist specifies a protocol to handle +// only valid if Stone Island-Info.plist specifies a protocol to handle - (BOOL)application:(UIApplication*)application openURL:(NSURL*)url sourceApplication:(NSString*)sourceApplication annotation:(id)annotation { if (!url) { @@ -135,7 +135,11 @@ } #endif +#if __IPHONE_OS_VERSION_MAX_ALLOWED < 90000 - (NSUInteger)application:(UIApplication*)application supportedInterfaceOrientationsForWindow:(UIWindow*)window +#else +- (UIInterfaceOrientationMask)application:(UIApplication*)application supportedInterfaceOrientationsForWindow:(UIWindow*)window +#endif { // iPhone doesn't support upside down by default, while the iPad does. Override to allow all orientations always, and let the root view controller decide what's allowed (the supported orientations mask gets intersected). NSUInteger supportedInterfaceOrientations = (1 << UIInterfaceOrientationPortrait) | (1 << UIInterfaceOrientationLandscapeLeft) | (1 << UIInterfaceOrientationLandscapeRight) | (1 << UIInterfaceOrientationPortraitUpsideDown); diff --git a/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.h b/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.h index e17e798a..a9aaeeaf 100644 --- a/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.h +++ b/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.h @@ -19,7 +19,7 @@ // // MainViewController.h -// HelloCordova +// Stone Island // // Created by ___FULLUSERNAME___ on ___DATE___. // Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved. diff --git a/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.m b/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.m index 2fe5fc4b..a066b197 100644 --- a/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.m +++ b/StoneIsland/platforms/ios/Stone Island/Classes/MainViewController.m @@ -19,7 +19,7 @@ // // MainViewController.h -// HelloCordova +// Stone Island // // Created by ___FULLUSERNAME___ on ___DATE___. // Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved. |
