TinyCrayon / TinyCrayon-iOS-SDK

A smart and easy-to-use image masking and cutout SDK for mobile apps.
https://www.tinycrayon.com
MIT License
1.83k stars 155 forks source link

[<TCMask.MaskViewController 0x14001ac00> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key mainView. #34

Open RohitMoreGit opened 5 years ago

RohitMoreGit commented 5 years ago

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.