Skip to content

Instantly share code, notes, and snippets.

@tallcoder
Last active December 5, 2017 14:30
Show Gist options
  • Save tallcoder/94f6922422a129f0f910 to your computer and use it in GitHub Desktop.
Save tallcoder/94f6922422a129f0f910 to your computer and use it in GitHub Desktop.
delete all stored nsuserdefaults data
NSString *appDomain = [[NSBundle mainBundle] bundleIdentifier];
[[NSUserDefaults standardUserDefaults] removePersistentDomainForName:appDomain];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment