Log in or register to post comments

Compatibility with iOS 6

September 11, 2012 - 12:22pm #1

re. Unity workaround: My AppController.mm had targetOrient instead of requestedOrient

Compatibility with iOS 6

September 13, 2012 - 2:34am #4

Thanks Vince

Which version of Unity are you using? ...as this workaround was for 3.5.5f3

N

Compatibility with iOS 6

September 12, 2012 - 11:00am #3

I had the same issue.  In the workaround that was posted it states:

Quote:
  • Open the generated project in XCode and locate the file AppController.mm
  • At or around line 667 locate this line:  UnitySetScreenOrientation(requestedOrient);
  • Above this line insert this:  QCARUnityPlayer::getInstance().QCARSetOrientation(requestedOrient);
  • Build you app as usual

However, in my AppController.mm file the code actually reads:

UnitySetScreenOrientation(targetOrient);

So, referring to the line to be inserted, i simply changed the variable passed to match the variable used in the UnitySetScreenOrientation() method:

QCARUnityPlayer::getInstance().QCARSetOrientation(targetOrient);

Vince

Compatibility with iOS 6

September 12, 2012 - 2:40am #2

Hi JTown

Could you please explain a little more about what you are saying here?

We posted a workaround here:  https://ar.qualcomm.at/content/compatibility-issues-ios6

...which included modifying the AppController.mm

did this not work for you?

 

thanks

N

Log in or register to post comments