CFBundleVersion your view request a package and then directly request the Info.plist file and retrieve the CFBundleVersion (or the corresponding key that you want to extract). The version should not be stored in the .strings file. Then all you have to do is have a format string to prepare it for display. One useful thing if you care about localization is that instead of your localized string in your .strings something like "%@<CFBundleVersion format string>" = "Version: %@"; . Then you get a quick visual indicator if your localizers completed their tasks in all languages.
MyInfoView *infoView = ; NSString *version = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]; infoView.versionLabel.text = [NSString stringWithFormat:NSLocalizedString(@"%@<CFBundleVersion format string>",nil), version];
source share