Develop
2015.03.24 15:55
[ios] 아이폰 앱 이름 및 버전 정보
조회 수 859 댓글 0
아이폰 개발시 소스에서 앱의 이름과 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"];
-
[c] 파일명 또는 특정 패턴을 적용
-
[Android Error] The number of method references in a .dex file cannot exceed 64K
-
[linux] CentOS Apache 웹서버에 HTTPS 적용
-
[macos] How to Fix ‘You Shut Down Your Computer Because of a Problem’
-
[io] Apple Watch, Today Extension 앱ID 설정
-
OCB5 Injection 앗싸뵹! ㅋㅋ
-
[linux] The Ultimate Wget Download Guide With 15 Awesome Examples
-
[js] e.stopPropagation() VS e.preventDefault ()
-
[c] 기막힌 정렬 코드 ㅋㄷ
-
[android] 초간단 얼럿 (AlertDialog)
-
사이버보안실무 수업 메모
-
[ios] 비동기 블럭 코드 예제