@fiy-fish
2017-04-25T13:32:37.000000Z
字数 1166
阅读 1992
未分类
NSBundle *mainBundle = [NSBundle mainBundle];NSDictionary *inforDic = [mainBundle infoDictionary];// 好像 只能 读取 不能更改// 打印 inforDic 如下{BuildMachineOSBuild = 15G1217;// 这是什么鬼CFBundleDevelopmentRegion = en;//这又是什么鬼CFBundleExecutable = WBBNetWorkingOC;//可执行文件名CFBundleIdentifier = "wbb.WBBNetWorkingOC";//bundleIDCFBundleInfoDictionaryVersion = "6.0";//什么鬼CFBundleName = WBBNetWorkingOC;//bundleNameCFBundleNumericVersion = 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.2DTSDKBuild = 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);}
