iOS Question Is there any way to force Screen Orientation?

jaraiza

Active Member
Licensed User
In B4A I use Phone lib to do that (MyPhone.SetScreenOrientation(0)) and I tried to use iPhone lib but it doesn't have that method.

How can I achieve the same result?

Thanks!
 

jaraiza

Active Member
Licensed User
I was googling for this info and everyone has a version to do it in XCode, but it seems Apple likes to deprecate methods every iOS version... GRRR Damn apple :mad:
 

Filippo

Expert
Licensed User
Can you perhaps use this code of this page?
 

Filippo

Expert
Licensed User
Thank you Erel,:)
it's just Apple. :mad:
 
Top