Answers for "swift storing data in userdefaults"

0

how to fmake sure that data is save in userdefault

let name = "John Doe"
UserDefaults.standard.set(name, forKey: "name")
Posted by: Guest on December-03-2020
0

how to fmake sure that data is save in userdefault

UserDefaults.standard.removeObject(forKey: "name")
Posted by: Guest on December-03-2020

Code answers related to "swift storing data in userdefaults"

Code answers related to "Swift"

Browse Popular Code Answers by Language