Search code examples
iphoneobjective-ciosipaduiimage

How to get Image Name used in an UIImage?


I am using an UIImage, in which I have an Image, and I want to know the name of image.


Solution

  • 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.