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";
网友评论