在 iOS 中,如何更改打印弹出窗口周围的 chrome 的颜色?
(Objective-C 或 C# 一样好)
这是我显示打印机的方式:
var printInfo = UIPrintInfo.PrintInfo;
printInfo.OutputType = UIPrintInfoOutputType.General;
var printer = UIPrintInteractionController.SharedPrintController;
printer.PrintInfo = printInfo;
printer.PrintFormatter = webView.ViewPrintFormatter;
printer.ShowsPageRange = true;
printer.PresentFromBarButtonItem(btnShare, true, (handler, completed, err) => {
if (!completed && err != null)
{
UIAlertHelper.ShowAlert(
"Unable to Print",
"Sorry, we were not able to access printers from your device.",
"Ok",
null
);
}
}
);
这是一个屏幕截图: