Skip to content Skip to sidebar Skip to footer

How To Allow Both Landscape/portrait For Tablets Only

I would like to enable screen orientation changes for my application in tablets only, while restricting the layout in phones to portrait only. How do you do this?

Solution 1:

In any case, please read this. It should give you an idea as to how to go about it. The <supports-screens> tag allows you to declare what sort of screens you want your app to support. However, if you read this, it'll give you an idea about screen orientation.

Hope this helps.

Post a Comment for "How To Allow Both Landscape/portrait For Tablets Only"