////////////////////////////////////////////////////////////////////////////////////
// 앱 정보 가져오기
NSDictionary *infoDict = [[NSBundle mainBundle] infoDictionary];
// 앱 버전
NSString *szAppVersion = [ infoDict objectForKey:@"CFBundleShortVersionString"];
// 빌드 버전
NSString *szAppBuildVer = [ infoDict objectForKey:@"CFBundleVersion"];
// 앱 이름
NSString *szAppName= [ infoDict objectForKey:@"CFBundleDisplayName"];
'iOS' 카테고리의 다른 글
| apple push notification 쉽고 간단하게 구축하는 easy apns (0) | 2013.07.10 |
|---|---|
| 셀 높이 조절 (0) | 2013.06.25 |
| 스토리보드 커스텀 셀 (공개) (0) | 2013.06.12 |
| 유니코드 출력 (0) | 2013.02.01 |
| [iPhone]keychain 을 이용한 id, password 저장 (0) | 2013.01.16 |