美文网首页iOS
iOS imei(identifierForAdvertisin

iOS imei(identifierForAdvertisin

作者: NieFeng1024 | 来源:发表于2017-01-13 18:35 被阅读56次

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

相关文章

网友评论

    本文标题:iOS imei(identifierForAdvertisin

    本文链接:https://www.haomeiwen.com/subject/xhvsbttx.html