Sets the access group if multiple application share a data vault.
This method is used only for iOS applications, and must be called before accessing any DataVault methods. The access group must be set only if a vault is shared by multiple iPhone applications. If the vault is used only by one application, do not set the access group. The access group is listed in the keychain-access-groups property of the entitlements plist file. The recommended format is ".com.yourcompany.DataVault".
Syntax
+ (void)setAccessGroup:(NSString *)accessGroup;
Parameters
accessGroup – The access group name.
Examples
Sets the Access Group Name – Sets the access group name so that multiple iOS applications can access the data vault.