cocoaTouch/OverlayViewController.m
changeset 3340 96dd168b080b
parent 3335 2520ee7a5484
child 3347 5d0ac8197eb7
--- a/cocoaTouch/OverlayViewController.m	Tue Apr 13 14:39:05 2010 +0000
+++ b/cocoaTouch/OverlayViewController.m	Tue Apr 13 22:45:46 2010 +0000
@@ -29,7 +29,27 @@
 	// Release any cached data, images, etc that aren't in use.
 }
 
+/*
+- (void)didRotate:(NSNotification *)notification {	
+	if (orientation == UIDeviceOrientationLandscapeLeft) {
+	}
+    if (orientation == UIDeviceOrientationLandscapeRight) {
+    }
+	if (orientation == UIDeviceOrientationPortrait) {
+	}
+    if (orientation == UIDeviceOrientationPortrait) {
+	}
+}
+*/
+
 -(void) viewDidLoad {
+    /*
+    [[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];	
+    [[NSNotificationCenter defaultCenter] addObserver:self
+							selector:@selector(didRotate:)
+							name:UIDeviceOrientationDidChangeNotification
+							object:nil];
+    */
     isPopoverVisible = NO;
     self.view.alpha = 0;