Reputation: 4208
How the following works?
[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"];
From where i can set the value for this?
Thanks.
Upvotes: 2
Views: 6524
Reputation: 11330
The value for this is derived from your application's root Info.plist
file. Newer versions of Xcode pretty-print this key as "Bundle version".
Upvotes: 3