-
Notifications
You must be signed in to change notification settings - Fork 1.4k
FIXED: iOS orientation and rotation bug. #171
Conversation
Do we really need all those new line additions? |
No, not really. I think that they were added automatically by my text |
Hi @MikelEiza , I tried your code but the XCode returned an error the first time I opened Barcode Scanner.
I'm using XCode 7.3.1 with cordova-ios 4.1.1 |
Works great!!! iOS 9.3.2 That's the only fix that made it work in landscape mode without screwing up my App's viewport. I think this also should fix this issue: #40 |
Cleaned up version of phonegap#171
Tested on iPad iOS 8.1 and iPhone 6 iOS 9.3.1 - works well. |
Awesome fix. Thanks so much! |
This fixes the black border in landscape mode but I can't scan a code 128 this way. Rotating to portrait fixes this. I'm sure this works fine for QR codes but not for 2D barcodes I'm afraid. Do you guys have similar experience with this change applied? |
Found a way - needs another change. Will test a bit and update the repo. |
Thanks @MikelEiza, I only had to add a little tweak to make 2D barcode scanning work on landscape as well. I had to manually merge it due to the merge conflicts, so closing this. Available in 5.0.1. |
This thread has been automatically locked. |
No description provided.