Removed redundant RotatingNavigationController class
[zxing.git] / iphone / Classes / DecoderViewController.m
index 02a087c..4b57d98 100644 (file)
 
 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
        // Return YES for supported orientations
-       return YES;
+       return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
 }