When I try to load printer in objective c code the printer view goes out of the screen. Can anybody look into this?
I have tried with delegate methods of UIPrintInteractionController but presenting the printer controller goes to out of the screen.
This code works properly in ios 12 I want the same printer screen in ios 13
UIPrintInteractionController *printController = [UIPrintInteractionController sharedPrintController];
[printController presentFromRect:self.actionsButton.frame inView:self.view animated:NO
completionHandler:^(UIPrintInteractionController
*printInteractionController, BOOL completed, NSError *error) {
if (completed) {
[self.actionsPopoverController dismissPopoverAnimated:YES];
self.actionsPopoverController = nil;
}
}];
Screen Short Below