iOS2013. 6. 19. 17:39

////////////////////////////////////////////////////////////////////////////////////

// 앱 정보 가져오기

NSDictionary *infoDict = [[NSBundle mainBundle] infoDictionary];


// 앱 버전

NSString *szAppVersion = [ infoDict objectForKey:@"CFBundleShortVersionString"];

// 빌드 버전

NSString *szAppBuildVer = [ infoDict objectForKey:@"CFBundleVersion"];

// 앱 이름

NSString *szAppName= [ infoDict objectForKey:@"CFBundleDisplayName"];

Posted by 다오나무