iOS 14 IDFA, 추적 권한 요청 이슈
IDFA를 얻으려면…
ASIdentifierManager.shared().advertisingIdentifier.uuidString
iOS 설정 > 개인 정보 보호 > 허용 on하면 값이 잘 나옴. off 하면 ‘0000…’ 나옴
https://developer.apple.com/documentation/adsupport
그런데 2021년 초부터는…

https://developer.apple.com/kr/news/?id=hx9s63c5
권한을 얻으려면…
ATTrackingManager.requestTrackingAuthorization
info.plist에 문구를 추가 안 하면 크래시 발생
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app’s Info.plist must contain an NSUserTrackingUsageDescription key with a string value explaining to the user how the app uses this data.
https://developer.apple.com/documentation/apptrackingtransparency
문구(“광고하려고~”) 추가하고 실행하면 권한 요청 노출

사용자가 권한 허용하면 IDFA 값 나옴. 거부하면 ‘0000…’ 나옴
iOS 설정 상태



진짜 문제
내 앱에서 사용하는 서드파티 라이브러리에서 어떤 데이터를 수집하는지 확인해야 한다.

https://developer.apple.com/kr/app-store/user-privacy-and-data-use/
또 다른 문제
어떻게 사용자에게서 권한 허용을 받아낼 것인가?