Contents

조회 수 977 댓글 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. 사이버보안실무 수업 메모

  2. OCB5 Injection 앗싸뵹! ㅋㅋ

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

  4. [ios] NSString, RegularExpression Find/Replace

  5. [android] N-Puzzle 게임

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

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

  8. [ios] 아이폰 앱 이름 및 버전 정보

  9. [c] 이진 탐색 두 가지 코드 (재귀/반복)

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

  11. [ios] UIWebView에서 로컬에 있는 html 파일 불러오기

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

Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 ... 98 Next
/ 98