Open gaoshuangone opened 5 years ago
// maskView if(self.isMaskEnable) { self.maskView.backgroundColor = [self maskColorWithMaskType:self.maskType]; [self addSubviewIfNotContain:self.maskView superView:targetView]; }else{//需要重置回来 [self removeFromSuperview:self.maskView]; }
👌
// maskView if(self.isMaskEnable) { self.maskView.backgroundColor = [self maskColorWithMaskType:self.maskType]; [self addSubviewIfNotContain:self.maskView superView:targetView]; }else{//需要重置回来 [self removeFromSuperview:self.maskView]; }