Instance Method


Returns a configuration object that applies the specified configuration values on top of the current object's values.


- (instancetype)configurationByApplyingConfiguration:(UIImageConfiguration *)otherConfiguration;



The configuration attributes to apply over the current attributes. Values in this object take precedence over values in the image's current configuration object.

Return Value

A configuration object with the specified image configuration attributes and merged traits.


This method merges the traits from otherConfiguration with the current object's trait collection, giving precedence to traits in otherConfiguration unless the trait is unspecified. For image-specific traits, this method replaces the current image attributes with the attributes in otherConfiguration.

See Also

Modifying a Configuration Object

- configurationWithTraitCollection:

Returns a new configuration object that merges the current traits with the traits from the specified trait collection.