I am using TCMask for my app and working properly but suddenly it's showing me following error and goes on a crash. Tried solutions but could not be resolved please help. Thank you in advance.
My code for to redirect TCMask view is :
TCMaskView *maskView = [[TCMaskView alloc] initWithImage:self.imageView.image];
maskView.delegate = self;
[maskView presentFromRootViewController:self animated:true];
Error : [<TCMask.MaskViewController 0x14001ac00> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key mainView.
I am using TCMask for my app and working properly but suddenly it's showing me following error and goes on a crash. Tried solutions but could not be resolved please help. Thank you in advance. My code for to redirect TCMask view is : TCMaskView *maskView = [[TCMaskView alloc] initWithImage:self.imageView.image]; maskView.delegate = self; [maskView presentFromRootViewController:self animated:true];
Error : [<TCMask.MaskViewController 0x14001ac00> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key mainView.