If I instantiate a UIImage like this :
UIImage *image = [[UIImage alloc] init];
The object is created but it doesn\'t contain any image.
Check with CGImageRef with itself wheather it contains null value means UIImage object not contains image.......