查询info信息
[[NSBundle mainBundle] infoDictionary]
以下是对应的输出
{
BuildMachineOSBuild = 15C50;
CFBundleDevelopmentRegion = en;
CFBundleExecutable = YTKNetworkDemo;
CFBundleIdentifier = "com.yuantiku.YTKNetworkDemo";
CFBundleInfoDictionaryVersion = "6.0";
CFBundleInfoPlistURL = "Info.plist -- file:///Users/xianren/Library/Developer/CoreSimulator/Devices/2815C63F-DFA6-4235-BFFB-B49AA5936F25/data/Containers/Bundle/Application/FBA7BD00-8888-467D-8DF0-41FBCBB22C4F/YTKNetworkDemo.app/";
CFBundleName = YTKNetworkDemo;
CFBundleNumericVersion = 16809984;
CFBundlePackageType = APPL;
CFBundleShortVersionString = "1.0";
CFBundleSignature = "????";
CFBundleSupportedPlatforms = (
iPhoneSimulator
);
CFBundleVersion = 1;
DTCompiler = "com.apple.compilers.llvm.clang.1_0";
DTPlatformBuild = "";
DTPlatformName = iphonesimulator;
DTPlatformVersion = "9.2";
DTSDKBuild = 13C75;
DTSDKName = "iphonesimulator9.2";
DTXcode = 0720;
DTXcodeBuild = 7C68;
LSRequiresIPhoneOS = 1;
MinimumOSVersion = "8.0";
UIDeviceFamily = (
1,
2
);
UILaunchStoryboardName = LaunchScreen;
UIMainStoryboardFile = Main;
UIRequiredDeviceCapabilities = (
armv7
);
UISupportedInterfaceOrientations = (
UIInterfaceOrientationPortrait,
UIInterfaceOrientationLandscapeLeft,
UIInterfaceOrientationLandscapeRight
);
}