I'm relatively new to iOS swift, but to the best of my knowledge
The user can't access or modify my iOS application's
UserDefaultsOther applications can't access or modify my iOS application's
UserDefaults
At most, the information found in UserDefaults gets deleted. But it can't be freely read or modified by a third party.
So what exactly is the danger in storing sensitive information here? Can someone give a plausible example of an attack where a significant software vulnerability would be exposed due to using UserDefaults instead of Keychain Services on the iOS platform?