Check if the user is using an iPhone, iPod Touch device


/ Published in: Objective C
Save to your folder(s)



Copy this code and paste it in your HTML
  1. if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
  2. //The device is an iphone
  3. }

URL: http://www.espinallab.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.