[关闭]
@fiy-fish 2017-04-25T13:32:37.000000Z 字数 1166 阅读 1594

4-25 关于 NSBundle 和 infor

未分类


  1. NSBundle *mainBundle = [NSBundle mainBundle];
  2. NSDictionary *inforDic = [mainBundle infoDictionary];
  3. // 好像 只能 读取 不能更改
  4. // 打印 inforDic 如下
  5. {
  6. BuildMachineOSBuild = 15G1217;// 这是什么鬼
  7. CFBundleDevelopmentRegion = en;//这又是什么鬼
  8. CFBundleExecutable = WBBNetWorkingOC;//可执行文件名
  9. CFBundleIdentifier = "wbb.WBBNetWorkingOC";//bundleID
  10. CFBundleInfoDictionaryVersion = "6.0";//什么鬼
  11. CFBundleName = WBBNetWorkingOC;//bundleName
  12. CFBundleNumericVersion = 16809984;
  13. CFBundlePackageType = APPL;
  14. CFBundleShortVersionString = "1.0";//软件版本号 在 App Store 显示
  15. CFBundleSupportedPlatforms = (
  16. iPhoneSimulator//设备
  17. );
  18. CFBundleVersion = 1;//build 版本号
  19. DTCompiler = "com.apple.compilers.llvm.clang.1_0";//编译器
  20. DTPlatformBuild = "";
  21. DTPlatformName = iphonesimulator;
  22. DTPlatformVersion = "10.2";//ios 版本 iOS 10.2
  23. DTSDKBuild = 14C89;
  24. DTSDKName = "iphonesimulator10.2";//iOS 版本 名
  25. DTXcode = 0821;//xcode 版本
  26. DTXcodeBuild = 8C1002;//xcode 版本
  27. LSRequiresIPhoneOS = 1;
  28. MinimumOSVersion = "10.2";//系统 最低版本
  29. UIDeviceFamily = (
  30. 1
  31. );
  32. UILaunchStoryboardName = LaunchScreen;//启动图 模式
  33. UIMainStoryboardFile = Main;// Storyboard 名字
  34. UIRequiredDeviceCapabilities = (
  35. armv7//
  36. );
  37. UISupportedInterfaceOrientations = (//支持 的屏幕方向
  38. UIInterfaceOrientationPortrait,
  39. UIInterfaceOrientationLandscapeLeft,
  40. UIInterfaceOrientationLandscapeRight
  41. );
  42. }
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注