iOS imei(identifierForAdvertising)/version

import

NSString *identifierForAdvertising = [[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString];

NSDictionary *infoDic = [[NSBundle mainBundle] infoDictionary];
App的版本号
NSString *appVersion = [infoDic objectForKey:@"CFBundleShortVersionString"];
App的build版本
NSString *appBuildVersion = [infoDic objectForKey:@"CFBundleVersion"];
App的名称
NSString *appName = [infoDic objectForKey:@"CFBundleDisplayName"];
渠道
NSString *channel = @"AppStore";

你可能感兴趣的:(iOS imei(identifierForAdvertising)/version)