Zxing Barcode Scanner PhoneGap Plugin iOS Querformat

Ich habe Zxing Barcode Scanner in ipad mit PhoneGap 1.7.0 und Zxing Barcode Scanner von implementierthttps://github.com/phonegap/phonegap-plugins/tree/master/iOS/BarcodeScanner. Aber die Orientierung ist nur ein Porträt. Ich möchte es in Querformat ändern, indem ich diesen Code ändere

if ([previewLayer isOrientationSupported]) {
    [previewLayer setOrientation:AVCaptureVideoOrientationPortrait];
}

und dieser Code auch

if (interfaceOrientation == UIInterfaceOrientationPortrait) return YES;

in CDVBarcodeScanner.mm und ändern Sie den Wert von Portrait in LandscapeRight. Mein Problem ist, dass das Video nicht im Vollbildmodus angezeigt wird, da rechts ein schwarzer Teil ist. Auch beim Scannen von Barcodes gelingt nur das Hochformat, nicht das Querformat, auch im Querformatmodus.

Gibt es eine Lösung, um den Querformatmodus zu perfektionieren?

Antworten auf die Frage(1)

Ihre Antwort auf die Frage