在 touchesBegan 方法中,我将 stampBrush Image 添加到 drawImage 中,两者都是 UIImageView
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
stampBrush = [[UIImageView alloc] initWithImage:[[PaintColor stampImages] objectAtIndex:[stamp_Default integerForKey:STAMP_TYPE]]];
[stampBrush setFrame:CGRectMake(lastPoint.x, lastPoint.y, stampBrush.image.size.width,stampBrush.image.size.height)];
[drawImage addSubview:stampBrush];
}
现在我试图在 removeStampBrush 点击时一一删除!哪个 stampBrush 需要从 drawImage 中删除!
-(void)removeStampBrush:(UIButton *)sender{
}