2 Replies Latest reply on Oct 20, 2011 1:29 PM by pcoyne1979

    Determine the orientation of a device

    pcoyne1979

      Hi, I've seen tutorials on the internet where people use navigator.landscapeOrientation inside a resize handler, to check the orientation of a device. That doesn't work anymore so how do I check the orientation now?

       

      I need this to work as soon as a view is created, e.g from the creationComplete handler. It also needs to work for iPad and iOS devices. Thanks for your help.