New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confused about orientation #242
Comments
@Vweston Same here. Did you ever find a solution for this? |
I have the same issue. Here are the details:
I'm running on two devices. An iPhone X with 14.4.2 and an iPad Mini (5th generation) also on 14.4.2. I get the same results on either device.
I notice that the default value in the source for Then run:
I haven't found a solution for the orientation issues but
I don't know if that's the best solution for that. Can you provide any help on the orientation issues? |
For my case, I setting like that
And in where do the update UI when rotation change like
|
qhu91it Thank you that solved my problem |
I’m confused. I created a new project. Added Swift package to project. Added a cameraView & label to storyboard. Build & run on device (iPad Pro 10.5” - iPadOS 14) in Portrait. Everything looks great. Camera view is correct. Rotate left & image is now displaying 90 degrees right. Rotate device back to portrait & camera image now incorrect there as well.
if I start out in landscape right. Then cameraView is rotated 90 degrees right, but is correct when back in portrait. I can only get it to correctly view in portrait mode no matter what settings I try. See images where the “This is a Label is always correctly displayed above cameraView.
here is my ViewController
//
// ViewController.swift
// BasicCameraManager
//
// Created by Vincent Weston on 1/20/21.
//
import UIKit
import CameraManager
class ViewController: UIViewController {
}
Start in Portrait
rotated
Started in landscapeRight
Rotated back to portrait
any help would be really great.👍
The text was updated successfully, but these errors were encountered: