2011-11-22 10 views

Respuesta

10

Debe ser NSHumanReadableCopyright. También puede localizarlo si es necesario, pero primero debe definirse en la lista.

Adición de una sugerencia útil si hay interés en cualquiera de las otras teclas:

NSLog(@"%s \n%@", __FUNCTION__, [[[NSBundle mainBundle] infoDictionary] allKeys]); 

que produce un resultado como este:

2011-11-22 17:08:02.072 MyApp [1007:707] -[SplashScreenViewController viewWillAppear:] 
(
    CFBundleSignature, 
    DTSDKName, 
    DTPlatformBuild, 
    BuildMachineOSBuild, 
    NSBundleInitialPath, 
    NSHumanReadableCopyright, 
    CFBundleExecutable, 
    CFBundleIconFiles, 
    LSRequiresIPhoneOS, 
    CFBundleInfoPlistURL, 
    NSMainNibFile, 
    CFBundleShortVersionString, 
    CFBundlePackageType, 
    NSBundleResolvedPath, 
    DTSDKBuild, 
    CFBundleResourceSpecification, 
    DTXcodeBuild, 
    DTCompiler, 
    CFBundleDisplayName, 
    CFBundleDevelopmentRegion, 
    UTExportedTypeDeclarations, 
    DTPlatformName, 
    CFBundleURLTypes, 
    CFBundleName, 
    CFBundleVersion, 
    UTImportedTypeDeclarations, 
    CFBundleDocumentTypes, 
    DTPlatformVersion, 
    CFBundleSupportedPlatforms, 
    DTXcode, 
    MinimumOSVersion, 
    UISupportedInterfaceOrientations, 
    CFBundleIdentifier, 
    UIAppFonts, 
    UIDeviceFamily, 
    CFBundleExecutablePath, 
    CFBundleInfoDictionaryVersion 
) 
+0

Gracias - He encontrado que después pedí también :) , Debería haber pensado en tirar las llaves antes de preguntar. – mobibob

+0

Está bien, esa es una gran pregunta. – CodaFi

+0

Gracias por editar mobibob! Pensé en tirar, pero lo hiciste antes que yo. – CodaFi

Cuestiones relacionadas