with the cli
$ defaults delete BUNDLE_ID
at runtime with swift
let localStorage = UserDefaults.standard
localStorage.removeObject(forKey: "MY_KEY")
localStorage.synchronize()
with the cli
$ defaults delete BUNDLE_ID
at runtime with swift
let localStorage = UserDefaults.standard
localStorage.removeObject(forKey: "MY_KEY")
localStorage.synchronize()