创建一个空白的透明PNG

UIGraphicsBeginImageContextWithOptions(CGSizeMake(36, 36), NO, 0.0);
UIImage *blank = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();

posted on 2015-12-13 23:06  二狗你变了  阅读(1021)  评论(0)    收藏  举报

导航