Categories
IOS JavaScript

JavaScript: orientation change listener for ipad

onorientationchange=”updateOrientation();”

Where updateOrientation(); is the function that will run on orientation change.

Leave a Reply

Your email address will not be published. Required fields are marked *