Skip to content

Instantly share code, notes, and snippets.



Last active Aug 29, 2015
What would you like to do?
iPhone Model Regex

This comment has been minimized.

Copy link
Owner Author

@wtfaremyinitials wtfaremyinitials commented Nov 15, 2014

Tests if an iPhone is any of the following models

  • 4
  • 4S
  • 5
  • 5S
  • 5C
  • 6
  • 6+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.