We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Awesome work Mike! This is an excellent module that I'm using in one of my projects.
Now I'm trying to use the landscape mode of the ZBarReaderView instead of transforming the view in the appcelerator side (rotation)
Here's what I'm trying in ComMfoggBarcodeView.m without success:
-(NSUInteger)supportedInterfaceOrientations { return UIInterfaceOrientationMaskLandscape; } -(BOOL)shouldAutorotate { return YES; } -(void)willRotateToInterfaceOrientation: (UIInterfaceOrientation)toInterfaceOrientation duration: (NSTimeInterval)duration; { if (toInterfaceOrientation == UIInterfaceOrientationLandscapeLeft) { [self square].previewTransform = CGAffineTransformMakeRotation(M_PI_2); } else if (toInterfaceOrientation == UIInterfaceOrientationLandscapeRight) { [self square].previewTransform = CGAffineTransformMakeRotation(-M_PI_2); } else if (toInterfaceOrientation== UIInterfaceOrientationPortraitUpsideDown) { [self square].previewTransform = CGAffineTransformMakeRotation(M_PI); } else { [self square].previewTransform = CGAffineTransformIdentity; } }
I really appreciate any help you can provide.
The text was updated successfully, but these errors were encountered:
Hi , did you got any solution?
Sorry, something went wrong.
No branches or pull requests
Awesome work Mike! This is an excellent module that I'm using in one of my projects.
Now I'm trying to use the landscape mode of the ZBarReaderView instead of transforming the view in the appcelerator side (rotation)
Here's what I'm trying in ComMfoggBarcodeView.m without success:
I really appreciate any help you can provide.
The text was updated successfully, but these errors were encountered: