草庐IT

ANImageBitmapRep

全部标签

objective-c - 使用 AirPrint 打印 UIImage 导致内容被截断

我正在使用AirPrint打印出UIImage,但页边距不正确。这是打印时的样子:有没有办法让它完美地贴合在纸上?这是请求的代码:UIPrintInteractionController*pic=[UIPrintInteractionControllersharedPrintController];//pic.delegate=del;UIPrintInfo*printInfo=[UIPrintInfoprintInfo];printInfo.outputType=UIPrintInfoOutputGeneral;printInfo.jobName=[NSStringstringWit