3

Is it possible and if so then how can I lock a specific view to only use either portrait or landscape orientation in an ASP.NET MVC 4 Razor mobile website that uses JQuery and JQueryMobile? For example, all views can have a portrait or landscape view but I want one view to only be viewable in portrait mode such that any orientation changes will not affect the view.

Thanks in advance!

Soenhay
  • 3,958
  • 5
  • 34
  • 60

1 Answers1

0

After see some posts, I found only possible solution but is it not possible to iOS apps.

I think that you want something like the solution of that post jQuery Mobile lock orientation

Community
  • 1
  • 1
A. Magalhães
  • 1,511
  • 2
  • 22
  • 31
  • Thanks for the reply. After a lot of reading I do not think there is currently a good way to do this but at this link http://taitems.tumblr.com/post/24433282939/mobile-safari-wishlist-what-devs-want-this they talk about it being in the works and they suggest a workaround using css transforms and media queries. I think it is for the entire site though. Either way I found a solution to my original problem and here it is: http://stackoverflow.com/questions/13710834/problems-with-mobiscroll-orientationchange-and-access-address-bar-crashes-some. I will leave this unanswered for now. – Soenhay Dec 07 '12 at 17:25