views:

98

answers:

1

How can i programmatically get the value of the "target version" like in the image below. As seen in the Properties window of the target of my xcode project. I want to display this in the splash screen of my app so i know which version people are using? Hope this makes sense what i'm asking.alt text

+4  A: 
NSString * appVersionString = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"];
quixoto