I am trying to remove the UILabel subview from button, through this code but this code removes all subviews from button even its current image. I don't understand that how can i specify only UILabel to remove from button.
if (![[UIImage imageNamed:@"box1.png"] isEqual:button.currentImage]) {
[button.subviews makeObjectsPerformSelector:@selector(removeFromSuperview)];
}