I am trying to trigger a function when a user rotates their device and I'm seeking advice on which event would be most effective for this purpose. In your experience, which event do you recommend that will call the function quickly and consistently? I know that different webkit devices may have limitations with certain events, so I want to ensure I am using the right approach.
I primarily test on iOS and Android v2.2+ devices.
Any advice would be greatly appreciated.