Post

Replies

Boosts

Views

Activity

Comment on App Crash when using print of UIPrintInteractionController
I am using this code and it works: UIPrintInteractionController *pic = [UIPrintInteractionController sharedPrintController]; UIPrinter *printer = [self savedPrinter]; // get the printer you want ... [printer contactPrinter:^(BOOL available) {                 if (available) {                     [pic printToPrinter:printer completionHandler:completionHandler];                 } else {                     NSLog(@"printer unavailable");                 }             }];
Nov ’21