ios - Reset keychain on the device -


i'm testing login flow (using keychainitemwrapper) inside app on device. how reset/delete keychain app?

on simulator, clicking on ios simulator -> reset content , settings....

keychain items in ios sandbox, users don't have access remove unwanted keychain item. these accessible via api's only.

keychainitemwrapper *keychainitem = [[keychainitemwrapper alloc] initwithidentifier:[[nsbundle mainbundle] bundleidentifier] accessgroup:nil];  

//or how access keychain

    [keychainitem resetkeychainitem]; 

or can reset device >> device settings, general, reset, reset settings. but, reset keychain every app installed on device.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -