setImageWith(_:)
Initializes an image view with the image specified by a URL.
Declaration
func setImageWith(_ url: URL!)Parameters
- url:
The URL that specifies the location of the image.
Discussion
This method is the preferred initializer for RAW images. If you use this method for a TIFF file that contains multiple images, only the first image is displayed.