UIPrintInteractionController在iOS 13 Beta设备中无法正常工作

Gra*_*der 5 xcode objective-c uiprintinteractioncntrler ios13

当我尝试在目标C代码中加载打印机时,打印机视图从屏幕上移出。有人可以调查吗?

我尝试使用UIPrintInteractionController的委托方法,但显示打印机控制器不在屏幕外。

此代码在ios 12中正常工作我想要在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;
        }
    }];
Run Code Online (Sandbox Code Playgroud)

屏幕下方短

屏幕截图

Wid*_*ogy 2

我也遇到过同样的问题。但这是 iOS 13 的操作系统问题。Apple 已在 iOS 13.1 beta 中修复了此问题。尝试在 iOS 13.1 beta 中运行您的代码