diff --git a/JGE/src/iOS/EAGLView.m b/JGE/src/iOS/EAGLView.m
index 902fee8b7..2a2590912 100755
--- a/JGE/src/iOS/EAGLView.m
+++ b/JGE/src/iOS/EAGLView.m
@@ -68,7 +68,6 @@ void DestroyGame(void)
return [CAEAGLLayer class];
}
-
- (void)dealloc
{
[renderer release];
diff --git a/JGE/src/iOS/EAGLViewController.m b/JGE/src/iOS/EAGLViewController.m
index 62129c9c4..082785460 100755
--- a/JGE/src/iOS/EAGLViewController.m
+++ b/JGE/src/iOS/EAGLViewController.m
@@ -64,11 +64,16 @@
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Overriden to allow any orientation.
+ bool isSmallScreen = (UI_USER_INTERFACE_IDIOM()) == UIUserInterfaceIdiomPhone;
+
+ if ( isSmallScreen && UIInterfaceOrientationIsPortrait(interfaceOrientation))
+ return NO;
+
return YES;
}
- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {
-
+
UIDeviceOrientation currentDeviceOrientation = [UIDevice currentDevice].orientation;
UIInterfaceOrientation currentInterfaceOrientation = self.interfaceOrientation;
diff --git a/JGE/src/iOS/ES2Renderer.m b/JGE/src/iOS/ES2Renderer.m
index b11ca975c..bd66c12a2 100755
--- a/JGE/src/iOS/ES2Renderer.m
+++ b/JGE/src/iOS/ES2Renderer.m
@@ -44,7 +44,7 @@ bool checkFramebufferStatus();
- (void)render
{
- NSLog(@"Renderer - render");
+// NSLog(@"Renderer - render");
struct timeval tv;
uint dt;
diff --git a/projects/mtg/wagic-Info.plist b/projects/mtg/wagic-Info.plist
index 91efc2234..cc0b6c3e7 100755
--- a/projects/mtg/wagic-Info.plist
+++ b/projects/mtg/wagic-Info.plist
@@ -8,12 +8,10 @@
${PRODUCT_NAME}
CFBundleExecutable
${EXECUTABLE_NAME}
- CFBundleIconFile
- wagic-64x64.png
CFBundleGetInfoString
- CFBundleShortVersionString
-
+ CFBundleIconFile
+ wagic-64x64.png
CFBundleIdentifier
somethingsmart.com.${PRODUCT_NAME:rfc1034identifier}
CFBundleInfoDictionaryVersion
@@ -22,6 +20,8 @@
${PRODUCT_NAME}
CFBundlePackageType
APPL
+ CFBundleShortVersionString
+
CFBundleSignature
????
CFBundleVersion
@@ -34,10 +34,15 @@
UISupportedInterfaceOrientations
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationPortrait
+