0

有没有办法判断 aUIPrintInteractionController是否正在显示(可能类似于您检查弹出窗口的方式)?

if ([popover isPopoverVisible]) {

    //the popover is visible

}
4

1 回答 1

2

看起来您只需要使用UIPrintInteractionControllerDelegate跟踪自己

– printInteractionControllerWillPresentPrinterOptions:
– printInteractionControllerDidPresentPrinterOptions:
– printInteractionControllerWillDismissPrinterOptions:
– printInteractionControllerDidDismissPrinterOptions:
于 2012-04-15T00:15:04.890 回答