Nan's Dev Blog

Sharing solutions that i found to resolve my problems

May 17, 2010

(iPHone)How to retrieve value of "Bundle version"

Here is how to retrieve value of "Bundle version" in the project.plist using code.

NSString *version = [[[NSBundle mainBundle] infoDictionary] 
objectForKey:@"CFBundleVersion"];
Posted by Nan Hu at 9:12 PM
Labels: iPhone

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
Nan Hu
Mobile app developer. (Android and iPhone)
View my complete profile

Blog Archive

  • ►  2013 (1)
    • ►  February (1)
  • ►  2012 (2)
    • ►  June (1)
    • ►  January (1)
  • ►  2011 (1)
    • ►  August (1)
  • ▼  2010 (11)
    • ►  December (1)
    • ►  November (1)
    • ►  August (3)
    • ►  July (1)
    • ▼  May (4)
      • (iPHone)How to retrieve value of "Bundle version"
      • (Iphone)How to move up an UIAlertView
      • (iPhone)How to resolve "resources have been modifi...
      • (XCode)How to resolve Error: 155015 (A conflict in...
    • ►  March (1)
  • ►  2009 (9)
    • ►  December (2)
    • ►  August (1)
    • ►  July (2)
    • ►  March (3)
    • ►  February (1)
  • ►  2008 (37)
    • ►  December (2)
    • ►  November (1)
    • ►  October (7)
    • ►  September (5)
    • ►  August (5)
    • ►  July (5)
    • ►  June (5)
    • ►  May (7)

Labels

  • iPhone (22)
  • Android (15)
  • Mac OS X (13)
  • Objective-C (12)
  • XCode (8)
  • Java (4)
  • Linux (3)
  • iOS (3)
  • Other (2)
  • C (1)
  • Eclipse (1)
  • SQLite (1)
  • Subversion (1)
Simple theme. Theme images by gaffera. Powered by Blogger.