Type Method

appearanceWhenContainedInInstancesOfClasses:

Returns the appearance proxies when the object is contained by one of the specified classes.

Required.

Declaration

+ (instancetype)appearanceWhenContainedInInstancesOfClasses:(NSArray<Class<UIAppearanceContainer>> *)containerTypes;

Parameters

containerTypes

An array of appearance container classes.

Return Value

The appearance proxy to use for the object.

See Also

Appearance Methods

+ appearance

Returns the appearance proxy for the receiver.

Required.

+ appearanceForTraitCollection:

Returns the appearance proxy for the receiver that has the passed trait collection.

Required.

+ appearanceForTraitCollection:whenContainedInInstancesOfClasses:

Returns the appearance proxy for an object that is contained by one of the specified classes and has the specified trait collection.

Required.

+ appearanceWhenContainedIn:

Returns the appearance proxy for the receiver in a given containment hierarchy.

Required.

Deprecated
+ appearanceForTraitCollection:whenContainedIn:

Returns the appearance proxy for the receiver in a given containment hierarchy that has the passed trait collection.

Required.

Deprecated

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software