UIImage, check if contain image

后端 未结 4 911
别那么骄傲
别那么骄傲 2020-12-24 01:51

If I instantiate a UIImage like this :

UIImage *image = [[UIImage alloc] init];

The object is created but it doesn\'t contain any image.

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-24 02:30

    Check with CGImageRef with itself wheather it contains null value means UIImage object not contains image.......

提交回复
热议问题