Start a new topic

Bug Report : Camera orientation on iOS PhoneGap

Bug Report : Camera orientation on iOS PhoneGap


Hi,

I've encountered a bug on the PhoneGap iOS SampleApp.

Context : MacOSX Lion XCode 4.6.2 and iOS SDK 6.1, Wikitude SDK 3.1

Step to reproduce : 

- Install and Open the iOS PhoneGap plugin SampleApp

- Hold device in portrait mode

- Open the POI sample

- Hide the AR View

- Turn to Landscape mode

- Open the POI Sample

- Here the HTML static buttons (Hide and close AR view) are fine but the camera image and POIs are rotated.

Can you reproduce the problem ? Is there a workaround for this ?

Additionnal crashing bug : 

Doing the same, but while locking the app to portrait mode in the Summary Configuration Tab > "Supported Interface Orientation" will crash the app (EXC_BAD_ACCESS (code=1,address=0x41a00000)) when trying to reopen the POI Sample.

Thanks for the feedback.

Benoit

Hi,

you can simply call - in the WTARViewControllers - method by passing the  

This will correct the camera orientation appropriately.

 

Regarding your crash: We will have a look at it in an upcoming release.

 

Best regards

Andreas

Hi,

Thanks for the tip, that did it perfectly.

The crash is stil there though...

Let me know if you need any complementary information about the crash.

 

Ben

Hi,

Have you had a chance to look into this crash ?

Thanks,

 

Benoit
 

Hi,

have you recently downloaded the latest version of our sample application & plugin?

The app you described is a older version which was limited in some aspects.

 

Best regards

Andreas
Login or Signup to post a comment