Link to home
Create AccountLog in
Avatar of kristian_gr
kristian_grFlag for Norway

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.

Avatar of dj_alik
dj_alik

Using jQuery Mobile with ASP.NET MVC supports/detects all platforms
http://www.codeproject.com/Articles/164088/Using-jQuery-Mobile-with-ASP-NET-MVC.aspx
Avatar of kristian_gr

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.
ASKER CERTIFIED SOLUTION
Avatar of dj_alik
dj_alik

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer