'빌드 버전'에 해당되는 글 2건

  1. 2013.06.19 앱 정보 가져오기 (앱이름, 버전)
  2. 2012.09.22 앱 정보 가져오기 (앱이름, 버전)
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 다오나무
iOS2012. 9. 22. 00:30

////////////////////////////////////////////////////////////////////////////////////
// 앱 정보 가져오기
NSDictionary *infoDict = [[NSBundle mainBundle] infoDictionary];

// 앱 버전
NSString *szAppVersion = [ infoDict objectForKey:@"CFBundleShortVersionString"];
// 빌드 버전
NSString *szAppBuildVer = [ infoDict objectForKey:@"CFBundleVersion"];
// 앱 이름
NSString *szAppName= [ infoDict objectForKey:@"CFBundleDisplayName"];

Posted by 다오나무