有没有办法判断UIPrintInteractionController
是否正在显示(可能类似于检查弹出框的方式)?
if ([popover isPopoverVisible]) {
//the popover is visible
}
答案 0 :(得分:2)
看起来您只需跟踪UIPrintInteractionControllerDelegate
即可跟踪自己– printInteractionControllerWillPresentPrinterOptions:
– printInteractionControllerDidPresentPrinterOptions:
– printInteractionControllerWillDismissPrinterOptions:
– printInteractionControllerDidDismissPrinterOptions: