Where can I get a list of all UserDefaults keys?

Anyone know where I can get a list of all the UserDefaults keys? I can't find it in documentation.

All values:


print(UserDefaults.standard.dictionaryRepresentation().values)


All keys:


print(UserDefaults.standard.dictionaryRepresentation().keys)


All keys and values:


print(UserDefaults.standard.dictionaryRepresentation())

That helps, but that list doesn't seem complete. Where do I get a list of the keys that hasn't been saved or registered in UserDefaults?

You don't mean these, do you?


See Also

Related to this is "UserDefaults.standard". If I have read docs correctly, there are some keys here that control your app's default values for features that the system provides to your app. I've seen mention of a few keys that can be set here. E.g. "NSDisabledCharacterPaletteMenuItem" true is supposed to hide the "Emojis & Symbols" menu item. But I haven't seen any list of all the ones that the system understands.