I'm going to find out the name which is stored in Photo Library of a Phone.
or the name of image which comes from Server.
This is the code I have tried:
let x = self.imageView.accessibilityLabel
Unfortunately, that functionality is not built into
UIImage because images are not always loaded from files. However, you could create a custom
UIImageView subclass to fit your needs.