How to rotate a screen in the app ?

Take a look at this comment.