iOS

iOS imei(identifierForAdvertisin

2017-01-13  本文已影响56人  NieFeng1024

import <AdSupport/ASIdentifierManager.h>

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";

上一篇 下一篇

猜你喜欢

热点阅读