I'm creating a desktop application that assists in posting story on instagram, but I'm facing a problem. I use a cell phone simulation to open instagram, and to post instagram, it asks me to rotate the device. I've tried everything, but nothing works. I would like to know if there is any javascript function that changes the device orientation.
With the JavaScript Function
screen.orientation.lock("portrait")
or
screen.orientation.lock("landscape")
you can Rotate the Device in the Web View