2011-11-22 13 views

Trả lời

10

Nó phải là NSHumanReadableCopyright. Bạn cũng có thể bản địa hóa nó nếu cần, nhưng nó phải được định nghĩa trong plist trước.

Thêm một gợi ý hữu ích nếu có quan tâm đến bất kỳ của các phím khác:

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

trong đó sản lượng một kết quả như thế này:

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

Cảm ơn - Tôi tìm thấy nó sau khi tôi hỏi :) Cũng , Tôi nên nghĩ để đổ chìa khóa trước khi tôi hỏi. – mobibob

+0

Không sao, đó là một câu hỏi hay. – CodaFi

+0

Cảm ơn bạn đã chỉnh sửa mobibob! Tôi nghĩ sẽ đổ, nhưng bạn đã làm nó trước tôi. – CodaFi