@fiy-fish
2017-04-25T21:32:37.000000Z
字数 1166
阅读 1728
未分类
NSBundle *mainBundle = [NSBundle mainBundle];
NSDictionary *inforDic = [mainBundle infoDictionary];
// 好像 只能 读取 不能更改
// 打印 inforDic 如下
{
BuildMachineOSBuild = 15G1217;// 这是什么鬼
CFBundleDevelopmentRegion = en;//这又是什么鬼
CFBundleExecutable = WBBNetWorkingOC;//可执行文件名
CFBundleIdentifier = "wbb.WBBNetWorkingOC";//bundleID
CFBundleInfoDictionaryVersion = "6.0";//什么鬼
CFBundleName = WBBNetWorkingOC;//bundleName
CFBundleNumericVersion = 16809984;
CFBundlePackageType = APPL;
CFBundleShortVersionString = "1.0";//软件版本号 在 App Store 显示
CFBundleSupportedPlatforms = (
iPhoneSimulator//设备
);
CFBundleVersion = 1;//build 版本号
DTCompiler = "com.apple.compilers.llvm.clang.1_0";//编译器
DTPlatformBuild = "";
DTPlatformName = iphonesimulator;
DTPlatformVersion = "10.2";//ios 版本 iOS 10.2
DTSDKBuild = 14C89;
DTSDKName = "iphonesimulator10.2";//iOS 版本 名
DTXcode = 0821;//xcode 版本
DTXcodeBuild = 8C1002;//xcode 版本
LSRequiresIPhoneOS = 1;
MinimumOSVersion = "10.2";//系统 最低版本
UIDeviceFamily = (
1
);
UILaunchStoryboardName = LaunchScreen;//启动图 模式
UIMainStoryboardFile = Main;// Storyboard 名字
UIRequiredDeviceCapabilities = (
armv7//
);
UISupportedInterfaceOrientations = (//支持 的屏幕方向
UIInterfaceOrientationPortrait,
UIInterfaceOrientationLandscapeLeft,
UIInterfaceOrientationLandscapeRight
);
}