I have an app with a few different layouts to cater to aspect ratios.
In the loader event sheet I need to detect the ratio. PlatformInfo.WindowInnerHeight might be the best option.
Will this work? Or is there a better option?
Also, what if ratio does not fit any as described?
Also, the 16:9 and 19.5:9 are portrait and the 4X3 is landscape. Will this influence the equations?