@objc
private func orientationDidChange() {
if #available(iOS 13.0, *) {
guard let orientation = UIApplication.shared.windows.first?.windowScene?.interfaceOrientation else { return }
// called to reinitialize the engine with the new camera and rendering resolution
arView.change(orientation)
} else {
// Fallback on earlier versions
}
}