AFathi / ARVideoKit

Capture & record ARKit videos πŸ“Ή, photos πŸŒ„, Live Photos πŸŽ‡, and GIFs πŸŽ†.
Apache License 2.0
1.63k stars 225 forks source link

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

Open jrz-afs opened 4 years ago

jrz-afs commented 4 years ago

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?

seriyvolk83 commented 3 years ago

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

jrz-afs commented 3 years ago

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

seriyvolk83 commented 3 years ago

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