- Sort Posts
- 3 replies
- Last post
Compatibility with iOS 6
September 12, 2012 - 11:00am #3
I had the same issue. In the workaround that was posted it states:
- 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
Thanks Vince
Which version of Unity are you using? ...as this workaround was for 3.5.5f3
N