Contents

searchFieldBackgroundImage(for:)

Returns the search text field image for a given state.

Declaration

func searchFieldBackgroundImage(for state: UIControl.State) -> UIImage?

Parameters

Return Value

The search text field image to use for state.

See Also

Customizing the search bar appearance