我在用
UIImage *image = @"some image"
[图像 drawInRect:CGRectMake(50,50, 100, 100)];
我如何只检查绘制图像
if(cgrect(50, 50, 100, 100) doesn't have an image){
// only then draw the image
}
我在用
UIImage *image = @"some image"
[图像 drawInRect:CGRectMake(50,50, 100, 100)];
我如何只检查绘制图像
if(cgrect(50, 50, 100, 100) doesn't have an image){
// only then draw the image
}