[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"]]will return current your app version.
ex)
NSLog([NSString stringWithFormat:@"Version %@", [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"]]);
How can my iphone app detect its own version number?
댓글 없음:
댓글 쓰기