Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
UIDevice の広告識別子文字列を使用する際の制限について教えてください。広告追跡の目的でのみ使用する必要がありますか? 広告識別子を広告以外の目的で使用できますか? ありがとうございました 。
次のコードを使用できます。また、AdSupport というフレームワークを追加する必要があり、iOS6 以降でのみ開きます。そのため、デバイスの一意のコードとして使用する場合。IOS5 以前では、uniqueDeviceIdentifier を使用する必要があります。
[[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString];