you can use setAccessibilityIdentifier method for any subclass of UIView
UIImageView *image ;
[image setAccessibilityIdentifier:@"file name"] ;
NSString *file_name = [image accessibilityIdentifier] ;
More Related Contents:
- Fade/dissolve when changing UIImageView’s image
- UIImage from CALayer in iOS
- Storing images locally on an iOS device
- How to know that if the only visible area of a .png is touched in Xcode
- How do you create a UIImage View Programmatically – Swift
- Loading/Downloading image from URL on Swift
- How do I make an HTTP request in Swift?
- Save images in NSUserDefaults?
- How can I mask a UIImageView?
- How to share an image on Instagram in iOS?
- How do I take a full screen Screenshot in Swift?
- UITapGestureRecognizer – make it work on touch down, not touch up?
- How to crop a UIImageView to a new UIImage in ‘aspect fill’ mode?
- How to modify SWIFT_MODULE_NAME?
- With Auto Layout, how do I make a UIImageView’s size dynamic depending on the image?
- Delete all keys from a NSUserDefaults dictionary iOS
- What is the difference between Modal and Push segue in Storyboards?
- Creating a UIImage from a UIColor to use as a background image for UIButton [duplicate]
- NSDate – Convert Date to GMT
- Adding Navigation Bar programmatically iOS
- Get pixel data as array from UIImage/CGImage in swift
- How to add a button to the MKPointAnnotation?
- How can I color a UIImage in Swift?
- Swift performSelector:withObject:afterDelay: is unavailable [duplicate]
- How to set the opacity/alpha of a UIImage?
- Programmatically get height of navigation bar
- How shouldChangeCharactersInRange works in Swift?
- Pushing a navigation controller is not supported
- Open UISplitViewController to Master View rather than Detail
- How to catch all iOS Push Notifications with different user actions including tap on app icon