UISearchBar.UISearchBarAppearance.BackgroundImageForBarPosition Method

Definition

The UIImage used for the search bar's background, given the specified UIBarPosition and UIBarMetrics.

[Foundation.Export("backgroundImageForBarPosition:barMetrics:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIImage BackgroundImageForBarPosition (UIKit.UIBarPosition barPosition, UIKit.UIBarMetrics barMetrics);
abstract member BackgroundImageForBarPosition : UIKit.UIBarPosition * UIKit.UIBarMetrics -> UIKit.UIImage
override this.BackgroundImageForBarPosition : UIKit.UIBarPosition * UIKit.UIBarMetrics -> UIKit.UIImage

Parameters

barPosition
UIBarPosition
barMetrics
UIBarMetrics

Returns

Attributes

Applies to