You can open the context of the image and then immediately collect its contents without contributing anything to it. This should result in a 36x36 36x36 UIImage :
UIGraphicsBeginImageContextWithOptions(CGSizeMake(36, 36), NO, 0.0); UIImage *blank = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext();
dasblinkenlight Sep 02 2018-12-12T00: 00Z
source share