Edytuj

Udostępnij za pośrednictwem


UIPopoverController.PresentFromBarButtonItem Method

Definition

Shows the popover, anchoring it to the provided item.

[Foundation.Export("presentPopoverFromBarButtonItem:permittedArrowDirections:animated:")]
public virtual void PresentFromBarButtonItem (UIKit.UIBarButtonItem item, UIKit.UIPopoverArrowDirection arrowDirections, bool animated);
abstract member PresentFromBarButtonItem : UIKit.UIBarButtonItem * UIKit.UIPopoverArrowDirection * bool -> unit
override this.PresentFromBarButtonItem : UIKit.UIBarButtonItem * UIKit.UIPopoverArrowDirection * bool -> unit

Parameters

item
UIBarButtonItem

The button item to anchor the popover to.

arrowDirections
UIPopoverArrowDirection

The direction arrows that the popover may use.

animated
Boolean

If true, then the popover will be animated as it is displayed.

Attributes

Applies to