init(initiallySelectedPrinter:)
Creates and returns a printer picker with an initially selected printer object.
Declaration
init(initiallySelectedPrinter printer: UIPrinter?)Parameters
- printer:
A printer object to select initially. Specify
nilif you do not want to display a selected printer initially.
Return Value
An initialized printer picker controller object.
Discussion
After creating a printer picker controller, assign your delegate as needed and present the controller.