ios - How to fix camera orientation when rotate device -


i use avfoundation record video. set video orientation: [captureconnection setvideoorientation:avcapturevideoorientationportrait]; when record video, output video looks this:
enter image description here

when rotate device looks this:
enter image description here

i want video first image when rotate device. have do? in advance

i think might help

supportsvideoorientation = no 

for more refer link


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -