Permalink
Browse files

fixed rotation

  • Loading branch information...
1 parent 14ea975 commit 8ab972cc9c063688932f47deead2b5f05d2d018c @jonwheatley committed Apr 22, 2012
View
BIN ...p.xcodeproj/project.xcworkspace/xcuserdata/jon.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
View
2 protip/ViewController.m
@@ -400,7 +400,7 @@ - (void)viewDidDisappear:(BOOL)animated
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
// Return YES for supported orientations
- return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
+ return (interfaceOrientation == UIInterfaceOrientationPortrait);
}
@end
View
15 protip/protip-Info.plist
@@ -19,11 +19,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0</string>
+ <string>1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>1.0</string>
+ <string>1.1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIRequiredDeviceCapabilities</key>
@@ -36,12 +36,9 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
-
- <key>UIStatusBarStyle</key>
- <string>UIStatusBarStyleBlackOpaque</string>
-
- <key>UIPrerenderedIcon</key>
- <true/>
-
+ <key>UIStatusBarStyle</key>
+ <string>UIStatusBarStyleBlackOpaque</string>
+ <key>UIPrerenderedIcon</key>
+ <true/>
</dict>
</plist>

0 comments on commit 8ab972c

Please sign in to comment.