Instance Property

traitCollection

The trait collection that describes the current variant of the image.

Declaration

@NSCopying var traitCollection: UITraitCollection { get }

See Also

Getting the Image Configuration

var configuration: UIImage.Configuration?

The configuration details for the image.

Beta
var symbolConfiguration: UIImage.SymbolConfiguration?

The configuration details for a symbol image.

Beta