UIPopoverController.PresentFromBarButtonItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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