I don't know why, but I found strange behave of the CaptureView. Some times then it appear it rotate left or right... Someone know how to fix it?
Can you explain your issue a little better? It is unclear to me. Thank you!
If you want to disable the rotation, that can be done in two places: first place, remove the ability for your application to rotate, in the project settings, or two, change the code in the example project to not handle rotations.
so when i hold my phone at about 30 degrees tilt to the left or right and press to open CaptureView, then the camera glitches and rotates the image by 90 degrees - so everything horizontal becomes vertical and vice versa. Now the saved image then turns back to being normal.
Hmmm... There are two rotations that happen in the camera. There is the rotation of the preview, which will adjust as you rotate your camera, and then there is the rotation of the view controller, which will adjust when you rotate the device. It sounds like you want to stop the rotation of the view controller. Is that correct?
I want to prevent this:
That is weird, it looks like the photo is in the opposite direction from the perspective. That is an issue. Can you describe your setup and we can fix this. Thank you!
I am closing this issue as I cannot reproduce it and I have not heard from you. Please feel free to reopen this issue or create a new one. Thank you!
Hey Daniel, i figured out smth. like this issue. My app orientation is full portrait but you set videoOrientation with UIDevice orientation. So even my app is portrait because of device orientation, sometimes captureView orientation would be landscape. And occurs a weird view
I dont know even its an issue i mean it's nature usage of camera should be what u did. But like my apps if app force one orientation, this could be problem.
i fixed this with forcing device orientation portrait.
let value = UIInterfaceOrientation.Portrait.rawValue
UIDevice.currentDevice().setValue(value,` forKey: "orientation")
Yes! I found that issue as well. I will make a fix. Where did you place that line of code?
I placed it in viewDidLoad where i used captureView. It was a quick solution but i can not be sure its good one :/
No worries, I have been meaning to revisit the entire capture view , so I will take this as a queue to do so :)
Hey! I will be looking at this tomorrow. Thank you and sorry for any delays.
Will be waiting for the update! Thanks for the framework! Its all over Teplr
Hey! I am working on Capture this week and weekend. So you should have the update soon, btw, I am updating everything for Swift 2.3 and 3.0 for Material 2. Just incase you are planning on how to integrate the new work. Also, what is Teplr? I am looking online?
Thank you, I will be waiting for the update. Probably will not update until Teplr is ready for lunch. Teplr is a social calendar that helps you stay connected with the events and people you truly care about. As we are going into Beta, we found ourself saving lots of time because of your amazing framework. You should sign up for Beta @(teplr.co) to see how we utilized your framework. Will also be mentioning you and your framework. Thanks again!
Very cool :) looking forward to seeing it. @teplrguy
Hey Daniel, can i mention one more issue that i figure out. When i take photo from the top ( imagine like taking pics of paper which on the desk from top ), photos turn 90 degree when i show them on imageView. ( i was careful about orientation and i'm pretty sure its portrait but image was landscape ). Could you please try this scenario ?
We r waiting for the update also.
Thanks a lot !
@AhmettKeskin Yeah no worries, I am happy you brought this up. So basically, there is an orientation issue when first loading. I will take a look at that as I am fixing all Capture issues first. I anticipate I should have something for you to use within the latest couple days. That said, all the updates I am doing are in the development branch. Once I isolate the issue, I will make a hotfix, or suggest the fix that you can make.
Hi @AhmettKeskin I haven't had a chance to suggest anything for you. Sorry about that. I am focusing on the updates for Material 2. I am going to move this issue to Material 2 development as I am completely updating the Capture logic and setup.