I am showing AR in Landscape. And I used the SCNRenderer to record the AR interface, but the camera's orientation is wrong.
self.renderer = [SCNRenderer rendererWithDevice:nil options:nil];
self.renderer.scene = [self.delegate currentScene];
UIImage *image = [self.renderer snapshotAtTime:time withSize:CGSizeMake(SCREEN_WIDTH, SCREEN_HEIGHT) antialiasingMode:SCNAntialiasingModeMultisampling4X];
Is there any better way to record the scene?
show in Landscape
https://photos.app.goo.gl/jKBrmWSredoK4iuR6
record result, it's wrong.