caid
说明
苹果实施新的idfa
政策之后,广告商们用到的归因方法。
收集用户设备的一些信息用特定的算法来生成唯一标识。
不同厂商计算caid
方式可能不一样,这里提供可能会用到的设备信息,服务端收到用户的这些信息后自行计算。
参数 | 值 | 说明 |
---|---|---|
boot | 1611888252 | 系统启动时间 |
carrier | SIMULATOR | 运营商Code |
country | US | 国家 |
disk | 499963170816 | 硬盘容量 |
hwmodel | D10AP | hw.model |
language | zh-Hans-US | 语言 |
model | iPhone10,3 | hw.machine |
ram | 34359738368 | 内存大小 |
timezone | 28800 | 时区 |
uname | eHjnmoRpUGhvbmUxMw== | 手机名称Base64 |
update | 1611888252 | 系统更新时间 |
version | 10.3 | 系统版本 |
运营商Code说明
00
02
07
08
=> 中国移动
01
06
09
=> 中国联通
03
05
11
=> 中国电信
04
=> 中国卫通
20
=> 中国铁通
不在以上范围内直接用carrier
的值
使用方法
#import <caid/FkCaid.h>
NSLog(@"%@", [FkCaid totoal]);
Installation
caid is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'caid', '~> 1.0.0'
Author
pdso, pd@99d.in
License
caid is available under the MIT license. See the LICENSE file for more info.