swift save app settings code example
Example 1: how to fmake sure that data is save in userdefault
UserDefaults.standard.removeObject(forKey: "name")
Example 2: how to fmake sure that data is save in userdefault
UserDefaults.standard.removeObject(forKey: "Key")