kristian_gr
asked on
Custom webpage for iPhone from mvc3 razor
Using Visual Studio 2010, I'm creating a mvc 3 web application.
I'd like to create a custom view for Iphone / Android (html5 web application - not an app)
I'm struggelign to find out how I can detect the phone, and route the user to the custom view.
I'd like to create a custom view for Iphone / Android (html5 web application - not an app)
I'm struggelign to find out how I can detect the phone, and route the user to the custom view.
ASKER
Looks like a goog link, but as far as I can see this uses the same controller.
I'd rather have a new controller for my iPhone conent, I'm not displaying the same information on iPhone and web.
I'd rather have a new controller for my iPhone conent, I'm not displaying the same information on iPhone and web.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
http://www.codeproject.com/Articles/164088/Using-jQuery-Mobile-with-ASP-NET-MVC.aspx