Contents

supportsConfiguration:

Determines whether the view is compatible with the provided configuration.

Declaration

- (BOOL) supportsConfiguration:(id<UIContentConfiguration>) configuration;

Parameters

  • configuration:

    The new configuration to test for compatibility.

Return Value

true if the view supports this configuration being set to its configuration property and is capable of updating itself for the configuration; otherwise, false.

Discussion

The default implementation assumes the view is compatible with configuration classes that match the class of the view’s existing configuration.