【发布时间】:2020-11-30 22:31:55
【问题描述】:
根据 iOS 14 新的 SKAdNetwork 应用安装归因模型as described here,作为广告网络的开发人员,我需要确定the signature part of the flow 使用哪个版本:
Version 2.0 is available for apps that are compiled with the iOS 14 SDK
and signed by the App Store. Version 1.0 is available starting in iOS 11.3
我似乎需要确定该应用程序是否是使用 iOS14 SDK 构建的,但我不确定解决此问题的最佳方法是什么?
例如,我发现 SKAdNetwork 中有一个全局变量 - SKStoreProductParameterAdNetworkVersion 包含版本,但它仅适用于 2.0...在 1.0 中,这个全局变量根本没有定义。
另外,我发现了 this 和 this,但这些看起来像是 hacks.. 我试图了解什么是最好的方法.. 请注意,我将我的代码作为动态 iOS 框架提供(预编译)所以我的代码不与应用程序代码一起编译。
感谢您的帮助:)
【问题讨论】:
标签: ios objective-c storekit ios14 skadnetwork