ARVideoKit icon indicating copy to clipboard operation
ARVideoKit copied to clipboard

ARVideoKit forces app into portrait mode when starting from landscape left/right.

Open jrz-afs opened this issue 4 years ago β€’ 3 comments

My app supports all interface orientations. The ViewAR.orientation OptionSet returns .all and inputViewOrientations is set to [ .landscapeLeft, .landscapeRight, .portrait ].

When the recorder is initialized with the ARSCNView, the entire interface is forced into portrait mode. I can rotate it back by physically moving my device and re-orientating it, but that's not an acceptable solution.

How can I prevent the entire interface from being forced into the portrait orientation when starting from landscape left/right?

jrz-afs avatar Jul 01 '20 19:07 jrz-afs

@jrz-afs https://github.com/AFathi/ARVideoKit/pull/120

seriyvolk83 avatar Nov 09 '20 18:11 seriyvolk83

@seriyvolk83 Looks like this PR was closed - did a new one get put up by any chance?

jrz-afs avatar Nov 23 '20 23:11 jrz-afs

@jrz-afs check #121 instead. It’s an updated version of the fix

seriyvolk83 avatar Nov 24 '20 06:11 seriyvolk83