Contents

backgroundStyle

The background style of the child view that contains names and avatars.

Declaration

var backgroundStyle: SWAttributionView.BackgroundStyle { get set }

Discussion

If you don’t specify a background style, the system chooses one automatically. In general, SWAttributionView.BackgroundStyle.color looks best on monochrome backgrounds, while SWAttributionView.BackgroundStyle.material looks better on colored backgrounds.

See Also

Customizing highlights