airPrint
airPrint简单介绍
这个快捷键
这里的夜色真美。
link
我的csdn
我的csdn
这是什么掉东西
Markdown和扩展Markdown简洁的语法
- 什么鬼
- 听说是泄题
if(我是牛逼)
{
别人都是傻逼;
}
else
{
难道我也是个傻逼?
}
UIPrintInfo *printInfo = [UIPrintInfo printInfo];
printInfo.outputType = UIPrintInfoOutputGeneral;
printInfo.orientation = UIPrintInfoOrientationPortrait;
printInfo.jobName = @"CoolVisitAirPrint";
self.airPrinterController.printInfo = printInfo;
self.airPrinterController.printingItem = image;
self.airPrinterController.delegate = self;
/************************* Print ************************/
/* Set up a completion handler block. If the print job has an error before spooling, this is where it's handled. */
void (^completionHandler)(UIPrintInteractionController *, BOOL, NSError *) = ^(UIPrintInteractionController *printController, BOOL completed, NSError *error) {
if(completed && error)
DDLogError(@"Printing failed due to error in domain %@ with error code %lu. Localized description: %@, and failure reason: %@", error.domain, (long)error.code, error.localizedDescription, error.localizedFailureReason);
};
UIPrinter *airPrinter = [UIPrinter printerWithURL:[NSURL URLWithString:GSignInConfig.airPrinterUrlStr]];
[self.airPrinterController printToPrinter:airPrinter completionHandler:completionHandler];
我想像风一样
*
*
玩儿儿热热热热热热t
w
如同认同投入引用块内容
引用块内容
were 热尔
- 玩儿
2 - 3
我二二
玩儿热r - 尔