BarcodeScanner icon indicating copy to clipboard operation
BarcodeScanner copied to clipboard

Black bar on landscape mode for IOS 8+ version

Open blackswanny opened this issue 10 years ago • 3 comments

Hello, after upgrading of IPad to IOS 8 we found that black bar appeared(see attach, right near Cancel button), also it intersects with bar scan zone. These is no such bug on IOS7 and Androids. Current version of plugin: 2.0.0 IOS8 black bar

blackswanny avatar Nov 14 '14 10:11 blackswanny

I have the same problem.

vash15 avatar Nov 14 '14 13:11 vash15

The problem is that the orientation stuff isn't working on iOS 8 anymore. Clean solution would be to fix that orientation stuff. A quick and dirty solution would be to set the frame of previewLayer (in CDVBarcodeScanner.mm) manually, based on width/height of view bounds. This works for potrait only!

Like this: http://pastebin.com/5PV9Kju1

But keep in mind that this solution is just a workaround, no clean solution.

turcane avatar Nov 21 '14 09:11 turcane

anything new on this one ? I still have the same problem with 2.2.0

smknstd avatar Jun 15 '15 13:06 smknstd