Contents

조회 수 970 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
아이폰 개발시 소스에서 앱의 이름과 Version 및 Build 정보를 가져올때 다음과 같이 사용한다.  

project info plist에서 
[Bundle versions string, short] 항목은 appVersion
[Bundle version] 항목은 appBuild
[Bundle display name] 항목은 appName

// project info plist 읽어옴 ㅋㄷ
NSDictionary *infoDic = [[NSBundle mainBundle] infoDictionary];

// appVersion
NSString *appName = [infoDic objectForKey:@"CFBundleDisplayName"];

// appBuild
NSString *appVersion = [infoDic objectForKey:@"CFBundleShortVersionString"];

// appName
NSString *appBuild = [infoDic objectForKey:@"CFBundleVersion"];


?

  1. [ppt] Information Security 발표 자료 (@Team Study 2012.11.15)

  2. [c] 기막힌 정렬 코드 ㅋㄷ

  3. [git] 쉬운 버전관리 Git 설명

  4. [android] N-Puzzle 게임

  5. [ios] NSString, RegularExpression Find/Replace

  6. [macos] How to Fix ‘You Shut Down Your Computer Because of a Problem’

  7. [android] Android N requires the IDE to be running with Java 1.8 or later 오류

  8. Aspect Oriented Programming in Objective-C

  9. [ios] iOS 앱 아이콘을 만드는 유틸

  10. [io] Apple Watch, Today Extension 앱ID 설정

  11. 사이버보안실무 수업 메모

  12. OCB5 Injection 앗싸뵹! ㅋㅋ

Board Pagination Prev 1 ... 87 88 89 90 91 92 93 94 95 96 ... 98 Next
/ 98