Pick the fix
App Store Connect warns that your app uses UserDefaults without a declared reason. Fix?
Hint 1 of 1
Which file declares API reasons?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A Add PrivacyInfo.xcprivacy with the UserDefaults API category and reason CA92.1, and update SDKs that lack manifests
Correct. That declares the approved reason for app-only defaults.
Why not the others?
- B Stop using UserDefaults. It's unnecessary; declaring the reason is enough.
- C Mention it in the privacy policy. The manifest is what's checked.
- D Ignore the warning. Missing declarations can block submission.