Skip to content

Instantly share code, notes, and snippets.

@iskugor
Created November 14, 2013 11:30
Show Gist options
  • Save iskugor/7465306 to your computer and use it in GitHub Desktop.
Save iskugor/7465306 to your computer and use it in GitHub Desktop.
Alloy "isTablet" that detects iPad mini
Alloy.isTablet = Alloy.isTablet || (Ti.Platform.model.search(/ipad/i) > -1);
@iskugor
Copy link
Author

iskugor commented Nov 14, 2013

"Ti.Platform.osname" returns "iphone" for iPad mini

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment