Force ZXing.Mobile.MobileBarcodeScanner to Landscape Only

I'm using the ZXing.Mobile.MobileBarcodeScanner component and love how easy it is to implement, but the one feature that I need is for the scanner to be forced to Landscape orientation regardless of the orientation of the device.

I've tried a bunch of things to accomplish this, including forcing the parent UIViewController to be landscape, and setting the MobileBarcodeScanningOptions.ShouldAutorotate = False but regardless of what I try the scanner is not locked and continues to autorotate when the device orientation changes.

Is there a way to lock the orientation of the scanner to Landscape while the scanner is visible?

Sign In or Register to comment.