printerDestinations(for:)
Searches for a printer destination that matches the print-job attributes.
Declaration
func printerDestinations(for printInfo: UIPrintInfo) -> [UIPrinterDestination]Parameters
- printInfo:
The characteristics of a print job.
Return Value
A printer or printers that fulfill the printing options in printInfo.
Discussion
This method inspects the UIPrintInfo record to determine which printers to display to the user.