Skip to content

Instantly share code, notes, and snippets.

@hlxwell
Created March 22, 2013 03:09
Show Gist options
  • Save hlxwell/5218646 to your computer and use it in GitHub Desktop.
Save hlxwell/5218646 to your computer and use it in GitHub Desktop.
Get iOS or Mac application version.
[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"];
[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment