Rails: iPhone Detection


/ Published in: Rails
Save to your folder(s)

Use this as a way to detect iPhone users using Rails 2+. This should live in your /controllers/application_controller.rb (class ApplicationController < ActionController::Base). You also need to modify your mime type.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.