UIPrinterPickerController.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 a UIPrinterPickerController from this app as a popover that is anchored to a UIBarButtonItem item, with or without animation, depending on animated
, and code to run on completion, as a UIPrinterPickerCompletionHandler object, and then returns whether the object was displayed.
[Foundation.Export("presentFromBarButtonItem:animated:completionHandler:")]
public virtual bool PresentFromBarButtonItem (UIKit.UIBarButtonItem item, bool animated, UIKit.UIPrinterPickerCompletionHandler completion);
abstract member PresentFromBarButtonItem : UIKit.UIBarButtonItem * bool * UIKit.UIPrinterPickerCompletionHandler -> bool
override this.PresentFromBarButtonItem : UIKit.UIBarButtonItem * bool * UIKit.UIPrinterPickerCompletionHandler -> bool
Parameters
- item
- UIBarButtonItem
The bar button item to which to anchor the popover.
- animated
- Boolean
Whether to animate the display of the picker.
- completion
- UIPrinterPickerCompletionHandler
A handler to run after the picker is dismissed.
Returns
- Attributes