Contents

init(url:)

Creates an image object from an image file in the local file system.

Declaration

convenience init?(url URL: URL)

Parameters

  • URL:

    A URL to an image file in the local file system. The image can be in any format that the system supports.

Return Value

An image object that contains the local image file, or nil if the system can’t load the image file or it doesn’t exist.

See Also

Creating an Image Object