cordova - Zxing Barcode Scanner PhoneGap Plugin iOS landscape mode -


i have implement zxing barcode scanner in ipad using phonegap 1.7.0 , zxing barcode scanner https://github.com/phonegap/phonegap-plugins/tree/master/ios/barcodescanner. orientation portrait only. want change landscape modify code

if ([previewlayer isorientationsupported]) {     [previewlayer setorientation:avcapturevideoorientationportrait]; } 

and code too

if (interfaceorientation == uiinterfaceorientationportrait) return yes; 

in cdvbarcodescanner.mm , change value of portrait landscaperight. problem video not full screen, there has black portion in right. when scan barcode success when portrait not landscape in landscape mode.

is there solution make landscape mode perfect?

delete this

if (result.empty() && hints.gettryharder() && image->isrotatesupported()) {} 

on zxing-all-in-one.cpp file


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -