backgroundImage(for:)
Returns the background image for given bar metrics.
Declaration
func backgroundImage(for barMetrics: UIBarMetrics) -> UIImage?Parameters
- barMetrics:
A bar metrics constant.
Return Value
The background image for barMetrics.
Discussion
Equivalent to using backgroundImage(for:barMetrics:) with a position of UIBarPosition.any.