Home IOS Development ios – UserDefaults.commonplace not deleted in Sandbox debug app

ios – UserDefaults.commonplace not deleted in Sandbox debug app

0
ios – UserDefaults.commonplace not deleted in Sandbox debug app

[ad_1]

I am making an attempt so as to add a flag in UserDefaults.commonplace known as isFollowingRun to point whether or not we’ve got run the app greater than as soon as after set up. As a result of within the first run, I have to clear the credentials and knowledge within the Keychain. However after I tried it on my take a look at gadget, it would not get deleted so even after I reinstalled the app many instances, it will not reset the Keychain. So is the UserDefaults not being deleted on uninstallations? If that’s the case, how do I flag for first run with out it?

FYI, I used to be working it from my sandbox app on my take a look at gadget. Construct and put in it through Xcode. If that is the trigger, will it work on Testflight? As a result of so far as I do know, Testflight makes use of manufacturing provision, proper?

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here