I was hoping autoSetVideoOrientation would do it, but it doesn't seem to do anything. Does anyone know how to block landscape orientation from happening?
update: u can turn off landscape left/right oreintation in Xcode. That has 2 issues though:
for people that have an app that supports landscape mode but they only want video recording in portrait (perhaps a common goal), that's not an option.
when you have landscape turned off in Xcode, you no longer see the white bar on the side of your app when you put it in landscape mode, but the video weirdly displays you on the side (perhaps that's desired if you're not truly supporting landscape mode).
I was hoping
autoSetVideoOrientation
would do it, but it doesn't seem to do anything. Does anyone know how to block landscape orientation from happening?