How to get Image Name used in an UIImage?
That functionality is not built-in to UIImage
because images are not always loaded from files. However, you could create a custom UIImageView
subclass to fit your needs.
It is not possible. UIImage instance contains the actual image data without any reference to the filename.