X-Git-Url: http://git.rot13.org/?p=zxing.git;a=blobdiff_plain;f=iphone%2FClasses%2FMessageViewController.m;h=3449fecb4439747f57392a417cb657937a51097e;hp=ab6b2bc581f391295ebdfed9d49a9afea639e7bd;hb=acd2742d51bf4ab013a016f935b02a108a2c485e;hpb=b0312339295108c937c4c4f6cb247370eb09db27 diff --git a/iphone/Classes/MessageViewController.m b/iphone/Classes/MessageViewController.m index ab6b2bc5..3449fecb 100644 --- a/iphone/Classes/MessageViewController.m +++ b/iphone/Classes/MessageViewController.m @@ -60,7 +60,7 @@ - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { // Return YES for supported orientations - return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown); + return (interfaceOrientation == UIInterfaceOrientationPortrait); } - (void)didReceiveMemoryWarning {