cocoaTouch/OverlayViewController.m
changeset 3317 198ec44b6d92
parent 3308 b6dcae4b6d2c
child 3335 2520ee7a5484
--- a/cocoaTouch/OverlayViewController.m	Wed Apr 07 01:22:05 2010 +0000
+++ b/cocoaTouch/OverlayViewController.m	Wed Apr 07 02:58:12 2010 +0000
@@ -31,7 +31,8 @@
     // needed for rotation to work on os < 3.2
     self.view.center = CGPointMake(self.view.frame.size.height/2.0, self.view.frame.size.width/2.0);
     self.view.transform = CGAffineTransformRotate(self.view.transform, (M_PI/2.0));
-
+    self.view.frame = [[UIScreen mainScreen] applicationFrame];
+    
     dimTimer = [[NSTimer alloc] initWithFireDate:[NSDate dateWithTimeIntervalSinceNow:6]
                                         interval:1000
                                           target:self