I’m trying to push the users to switch view with ipad.
The correct view should be Landscape.
What’s the best way?
a message? appending some html and hiding the portrait content?
Jquery used
if (window.orientation === 0) {
window.addEventListener('orientationchange', callback, false);
}
You can:
orientationchangeevent on thewindowe.g.