ios开发(二)

来源:互联网 发布:网络系统面试 编辑:程序博客网 时间:2024/06/15 20:04
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict><key>CFBundleDevelopmentRegion</key>//区域<string>en</string><key>CFBundleDisplayName</key>//显示的名字<string>${PRODUCT_NAME}</string><key>CFBundleExecutable</key>//执行的程序的名字<string>${EXECUTABLE_NAME}</string><key>CFBundleIdentifier</key>//app上架唯一的id <string>as.${PRODUCT_NAME:rfc1034identifier}</string><key>CFBundleInfoDictionaryVersion</key>//版本号<string>6.0</string><key>CFBundleName</key><string>${PRODUCT_NAME}</string><key>CFBundlePackageType</key><string>APPL</string><key>CFBundleShortVersionString</key>//字符串版本<string>1.0</string><key>CFBundleSignature</key><string>????</string><key>CFBundleVersion</key><string>1.0</string><key>LSRequiresIPhoneOS</key><true/><key>UIRequiredDeviceCapabilities</key>//版本的能力<array><string>armv7</string></array><key>UISupportedInterfaceOrientations</key>//设备的方向 <array><string>UIInterfaceOrientationPortrait</string><string>UIInterfaceOrientationLandscapeLeft</string><string>UIInterfaceOrientationLandscapeRight</string></array></dict></plist>



    NSDictionary *dict = [[NSBundle mainBundle] infoDictionary];    NSLog(@"info: %@", dict);


0 0
原创粉丝点击