Not a great work around, but using the
func present(animated: Bool, completionHandler completion: UIPrintInteractionController.CompletionHandler? = nil) -> Bool
instead of
func print(to printer: UIPrinter, completionHandler completion: UIPrintInteractionController.CompletionHandler? = nil) -> Bool
works and you can print and it doesn't crash, however, the user has to interact and select the printer and other settings, so it's not as efficient.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: