1 Commits
Author SHA1 Message Date
Ryan Willoughby 084594d86c [0.2.1][ios] lock scanner to portrait 2012-12-12 13:11:02 -08:00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.phonegap.plugins.barcodescanner"
version="0.2.0">
version="0.2.1">
<name>BarcodeScanner</name>
+2 -2
View File
@@ -826,12 +826,12 @@ parentViewController:(UIViewController*)parentViewController
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation
{
return UIInterfaceOrientationLandscapeRight;
return UIInterfaceOrientationPortrait;
}
- (NSUInteger)supportedInterfaceOrientations
{
return UIInterfaceOrientationMaskLandscape;
return UIInterfaceOrientationMaskPortrait;
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation