Skip to content

Instantly share code, notes, and snippets.

@tpthn
Created August 10, 2012 20:31
Show Gist options
  • Save tpthn/3317633 to your computer and use it in GitHub Desktop.
Save tpthn/3317633 to your computer and use it in GitHub Desktop.
iOS - Detect iOS version
if ( [[[UIDevice currentDevice] systemVersion] floatValue] >= 5.0 )
NSLog (@"iOS version is greater than 5.0");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment