cocoaTouch/SDLOverrides/SDL_uikitappdelegate.m
changeset 3317 198ec44b6d92
parent 3316 52f0482b043f
child 3318 591c42242106
--- a/cocoaTouch/SDLOverrides/SDL_uikitappdelegate.m	Wed Apr 07 01:22:05 2010 +0000
+++ b/cocoaTouch/SDLOverrides/SDL_uikitappdelegate.m	Wed Apr 07 02:58:12 2010 +0000
@@ -89,11 +89,8 @@
     
     OverlayViewController *overlayController;
     // overlay with controls, become visible after 2 seconds
-    if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
-        overlayController = [[OverlayViewController alloc] initWithNibName:@"OverlayViewController-iPad" bundle:nil];
-    else
-        overlayController = [[OverlayViewController alloc] initWithNibName:@"OverlayViewController-iPhone" bundle:nil];
-
+    overlayController = [[OverlayViewController alloc] initWithNibName:@"OverlayViewController-iPhone" bundle:nil];
+    
     [uiwindow addSubview:overlayController.view];
     [overlayController release];