"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Renders incorrectly in all device orientations except landcapeRight (ios native demo app)

We've been working with iOS native SDK 9.8.5 and the corresponding sample/demo app.

The demo app is locked to landscapeRight orientation -- that is, the landscape orientation where the charging port is to the right.

In our app, we want the user to be able to generally use the device in portrait orientation.  We were having trouble with Vuforia rendering correctly, so we want back to the demo app to try it out there.

For example:

We modified the demo app to allow any orientation.  Then we launch the app while holding the phone in portrait orientation.  When the Vuforia window opens, the camera/video background image is rendered completely upside-down.  Other orientations have other issues -- the only one that works correctly is landscapeRight.  

The configureVuforia() function in VuforiaView.swift has some code to adjust for the device orientation, but it does not work -- as I described above.

What do we need to do to fix this?  Even if we don't allow rotation, but lock everything to portrait orientation (not ideal), the video is rendered upside-down, but the red highlighting of the image target and the robot model are rendered in what looks to be the correct position.

If anyone has run into this and has a solid fix, it would be greatly appreciated. 

Can someone at Vuforia take a look into this?  This is a pretty basic use case that should really "just work".

Thanks again!

Hello,

Unfortunately, our native samples have been explicitly designed to handle limited use cases, such as a locked screen orientation. They are not developed, nor tested, for modifications to rendering or app lifecycle code as that is beyond Vuforia Engine APIs.

Hello @LocalProjects,

Per the team, the device orientation limitation was addressed in the 10.0 sample code.

https://developer.vuforia.com/downloads/samples

Thanks,

Vuforia Engine Support