natsu1211/Alarm-ios-swift

how could you remove all the user defaults in the application ?

Opened this issue · 0 comments

Are you serious to write this code
because of your code below, I lost my lot of time
func unpersist() { for key in ud.dictionaryRepresentation().keys { UserDefaults.standard.removeObject(forKey: key.description) } }