Get the Build Version of your iPhone app at runtime

by Josh Highland on March 19, 2010

xcode Get the Build Version of your iPhone app at runtime

This is how to get the version number of your app at run time. I find this helpful in to use in the “about” section of my apps. The version number is read from your apps info.plist file.

NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"];
  • digg Get the Build Version of your iPhone app at runtime
  • facebook Get the Build Version of your iPhone app at runtime
  • stumbleupon Get the Build Version of your iPhone app at runtime
  • twitter Get the Build Version of your iPhone app at runtime
  • delicious Get the Build Version of your iPhone app at runtime
  • reddit Get the Build Version of your iPhone app at runtime
  • friendfeed Get the Build Version of your iPhone app at runtime
  • posterous Get the Build Version of your iPhone app at runtime
  • tumblr Get the Build Version of your iPhone app at runtime

Leave a Comment

Previous post:

Next post: