-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NSUserDefaults resetStandardUserDefaults重制数据不成功 #90
Comments
@xiaoxiaotang I should have written a bad example in [Short Cut]. You can register a short cut action to implement the function of clearing NSUserDefaults. Why is there such a bad example? I only tried in my own demo. Ha ha, thank you for reminding me. I'll change it later. 😆 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
reset user defaults NSUserDefaults resetStandardUserDefaults发现没有成功,userdefaults数据还在,iphone11 ios13.3版本,但是使用
NSString*appDomain = [[NSBundlemainBundle]bundleIdentifier];
[[NSUserDefaultsstandardUserDefaults]removePersistentDomainForName:appDomain];
就可以
The text was updated successfully, but these errors were encountered: