CCPAppInfo
获取 info.plist 中的信息
关于 identifierForVendor
从 AppStore 上下载
- 同一厂商(即同一个开发者帐号)在一个 iOS 设备上的 APP 的 IDFV 相同;
- 同一厂商在不同 iOS 设备上的 APP 的 IDFV 不同;
- 不同厂商在同一 iOS 设备上的 APP 的 IDFV 不同;
- 用户从 iOS 设备上删除了一个厂商的所有 APP 并重新安装了其中一个或多个 APP 时,IDFV 会变化。
非 AppStore 下载
- 如果 APP 不是从 AppStore 下载的,而是在开发阶段或企业版 APP,那么 IDFV 与 APP bundle ID 有关,也就是说 Even for APPs from the same vendor from AppStore and APPs from the development section on the same device, the IDFV is not necessarily the same.
并非一定会获得到
- 在设备重启之后而用户未解锁之前会返回 nil。
“卸载应用”操作不会使IDFV发生变化
- 新版的iOS系统支持“卸载应用”和“删除应用”两种操作,“卸载应用”允许用户保留文档和数据。“卸载应用”后重装APP,IDFV不会发生变化。