2 Replies
      Latest reply on Nov 11, 2019 9:20 PM by Dave Goldman PDX
      Dave Goldman PDX Level 1 Level 1 (0 points)

        Anybody else seeing something similar to this? (I've just reported it via Feedback Assistant)

         

        iOS 13.1.2 is misbehaving when supportedInterfaceOrientations == .portrait:

         

        1. In Xcode, create new “Augmented Reality App” project.

        2. In ViewController.swift/viewDidLoad(), add debug UI:

                sceneView.debugOptions = [ARSCNDebugOptions.showFeaturePoints, ARSCNDebugOptions.showWorldOrigin]

        3. In ViewContoller.swift, add:

            override var supportedInterfaceOrientations: UIInterfaceOrientationMask {

                return .portrait

            }

         

        4. Using an iOS 12 device, hold device in landscape-right orientation and launch the app.

        => As expected, camera image is rotated counterclockwise.

        => As expected, the AR model and AR axes are also rotated counterclockwise.

        => As expected, feature points appear reasonable.

         

        5. Using an iOS 13.1.2 device, hold device in landscape-right orientation and launch the app.

        => As expected, camera image is rotated counterclockwise.

        => Unexpectedly, the AR model and AR axes are NOT rotated counterclockwise.

        => Unexpectedly, feature points appear quite wrong.