I try to make a 20x20 UIImage with a simple blue circle. I try with this function, but the result is a blue circle in a black square. How do I remove the black square around
Try this
UIGraphicsBeginImageContextWithOptions(imageView.bounds.size, NO, 1.0);