I've set the secret in AppDelegate where it should be shard in the app in didFinishLaunchingWithOptions.
NSUserDefaults.standardUserDefaults().setSecret("....")
i have defined three viewControllers and I'm transferring the encrypted data between them and accessing it.
when i try to get the secretObjectForKey it gives me the following error :
Cannot receive object from encrypted data storage: -[__NSCFArray length]: unrecognized selector sent to instance 0x17426b840
I've set the secret in AppDelegate where it should be shard in the app in didFinishLaunchingWithOptions. NSUserDefaults.standardUserDefaults().setSecret("....")
i have defined three viewControllers and I'm transferring the encrypted data between them and accessing it. when i try to get the secretObjectForKey it gives me the following error :
Cannot receive object from encrypted data storage: -[__NSCFArray length]: unrecognized selector sent to instance 0x17426b840