Tests whether the specified vault exists.
+ (BOOL)vaultExists:(NSString*)name;
vaultExists can return the following values:
Returns |
Indicates |
|---|---|
YES |
The vault exists. |
NO |
The vault does not exist. |
if ([SUPDataVault vaultExists:@"myVault"])
{
[SUPDataVault deleteVault:@"myVault"];
}