jaraiza Active Member Licensed User Longtime User Dec 9, 2014 #1 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!
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!
Erel B4X founder Staff member Licensed User Longtime User Dec 9, 2014 #2 You can limit your app to a specific orientation with #iPhoneOrientations (or iPod). It is not possible to change it at runtime. Upvote 0
You can limit your app to a specific orientation with #iPhoneOrientations (or iPod). It is not possible to change it at runtime.
jaraiza Active Member Licensed User Longtime User Dec 9, 2014 #3 Oh, ok... I hope this can be added later. Thanks Erel! Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 9, 2014 #4 There is no reliable way to implement it in iOS. Upvote 0
jaraiza Active Member Licensed User Longtime User Dec 9, 2014 #5 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 Upvote 0
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
Erel B4X founder Staff member Licensed User Longtime User Dec 9, 2014 #7 It is possible to lock the orientation. However the orientation doesn't change automatically. I tried all the solutions that I was able to found and non worked reliably (or looked safe enough to use). Upvote 0
It is possible to lock the orientation. However the orientation doesn't change automatically. I tried all the solutions that I was able to found and non worked reliably (or looked safe enough to use).