title: How to retrieve Bundle Version in a label from project test-Info.plist in iphone?
body: <p>Here I'm pasting my codes where I want to retrieve Bundle version from my test-Info.plist.</p>
  
  <pre><code>@interface testViewController : UIViewController {
      UILabel *label;
  }
  @property(nonatomic,retain) IBOutlet    UILabel *label;
  
  @end
  
  @implementation testViewController
  
  @synthesize label;
  
  - (void)viewDidLoad {
      [super viewDidLoad];
  
      NSString *path = [[NSBundle mainBundle] pathForResource:@"test-info" ofType:@"plist"];
  
      NSString *versionString = [NSString stringWithFormat:@"v%d", [plistData objectForKey:@"Bundle version"]];
  
      label.text = versionString;
  }
  
  @end
  </code></pre>
  
  <p>But still I got null value where I'm wrong</p>