I have locked the orientation via XCode in landscape-left and landscape-right, but using getSpecificOrientation is giving the orientation as if it was not locked. Like when I am physically in portrait, but my view is locked in landscape-left. I want to still get landscape-left, is this possible?
I can ofcourse get the non-specific orientation by testing if width > height. But i needed the specific orientation. :(
I have locked the orientation via XCode in landscape-left and landscape-right, but using
getSpecificOrientation
is giving the orientation as if it was not locked. Like when I am physically in portrait, but my view is locked in landscape-left. I want to still getlandscape-left
, is this possible?I can ofcourse get the non-specific orientation by testing if width > height. But i needed the specific orientation. :(