if (UIInterfaceOrientationIsPortrait(toInterfaceOrientation)) {
;
}
}
Simply return the appropriate values in the methods and set the interface orientation for the Wikitude SDK.
Best regards
Andreas
A
Aaron Lumsden
said
over 9 years ago
Its for Phonegap and Im using xcode 5.0.2
A
Andreas Schacherbauer
said
over 9 years ago
Hi, So the rest of your application behaves as you want to?
You could do it manually in the WTARViewController.m file. Simply replace the existing methods with the ones from my last answer. If you don't feel comftable with this solution, you could try out our latest PhoneGap Plugin in combination with our latest beta SDK. To get both, simply send us a email and we will send it to you.
Aaron Lumsden