Initializer

init(decorative:bundle:)

Creates an unlabeled, decorative image.

Declaration

init(decorative name: String, bundle: Bundle? = nil)

Parameters

name

the name of the image resource to lookup

bundle

the bundle to search for the image resource. If nil, uses the main Bundle. Defaults to nil.

Discussion

This image will be specifically ignored for accessibility purposes.