Development/아이폰
[아이폰:iOS] Info.plist 에서 각종 Bundle 정보 획득하기
江多林
2011. 4. 6. 20:29
NSBundle 의 싱글톤인 [NSBundle mainBundle] 획득.
[NSBundle mainBundle] 에서 infoDictionary 프로퍼티로부터
key 값을 주면 획득이 가능함.
NSBundle은 마치 C#.Net의 프로젝트명.config 또는 Web.config 의 appSettings와 유사함
[[[NSBundle mainBundle] infoDictionary objectForKey:@"CFBundleIdentifier"]]