編輯

共用方式為


UISearchBar.SetPositionAdjustmentforSearchBarIcon Method

Definition

Sets the position adjustment for the specified icon.

[Foundation.Export("setPositionAdjustment:forSearchBarIcon:")]
public virtual void SetPositionAdjustmentforSearchBarIcon (UIKit.UIOffset adjustment, UIKit.UISearchBarIcon icon);
abstract member SetPositionAdjustmentforSearchBarIcon : UIKit.UIOffset * UIKit.UISearchBarIcon -> unit
override this.SetPositionAdjustmentforSearchBarIcon : UIKit.UIOffset * UIKit.UISearchBarIcon -> unit

Parameters

adjustment
UIOffset
Attributes

Applies to