This can not be done, the reason is simply that the instance of UIImageview , UIButton or UILabel does not store the image !. In addition to that it only displays an instance of the image (UIImage).
A reference or the path of the image is not stored.
link