Skip to content

Instantly share code, notes, and snippets.

@interchen
Created June 26, 2014 02:46
Show Gist options
  • Save interchen/99547988a1d266fc44c7 to your computer and use it in GitHub Desktop.
Save interchen/99547988a1d266fc44c7 to your computer and use it in GitHub Desktop.
bundle
NSString *appName = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"];
NSString *version = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"];
NSString *buildVersion = [[NSBundle mainBundle] objectForInfoDictionaryKey:(NSString *)kCFBundleVersionKey];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment