Tuesday, January 18, 2011

Display info.plist in program

Display info.plist in program



NSDictionary* infoDictionary = [[NSBundle mainBundle] infoDictionary];

NSLog(@"%i Keys: %@ ", [infoDictionary count],

[[infoDictionary allKeys] componentsJoinedByString: @" ,"]);



UIDeviceFamily ,CFBundleInfoPlistURL ,DTPlatformName ,LSRequiresIPhoneOS ,CFBundleVersion ,

CFBundleIdentifier ,CFBundleSignature ,CFBundleExecutable ,CFBundleExecutablePath ,CFBundleDisplayName ,CFBundleName ,CFBundleIconFiles ,

CFBundleSupportedPlatforms ,CFBundlePackageType ,NSBundleResolvedPath ,DTCompiler ,CFBundleInfoDictionaryVersion ,prefix ,CFBundleIconFile ,

CFBundleResourceSpecification ,DTXcodeBuild ,DTPlatformBuild ,DTXcode ,

MinimumOSVersion ,NSBundleInitialPath ,DTPlatformVersion ,UIStatusBarHidden ,UIPrerenderedIcon ,DTSDKName ,CFBundleDevelopmentRegion

No comments: