Awalz / SwiftyCam

A Snapchat Inspired iOS Camera Framework written in Swift
BSD 2-Clause "Simplified" License
2.08k stars 327 forks source link

Is it possible to explicitly set camera to landscape #219

Open geoffbullen opened 4 years ago

geoffbullen commented 4 years ago

I am having issues using the shouldUseDeviceOrientation = true property when on a flat surface.

It works fine if I hold the camera up and respects portrait or landscape, but when I take a pic of a flat horizontal surface, I can't rely on the image being the correct orientation.

Would be great if I could simply pass a value when I know the orientation I want.