markdown编辑器试用,nice!

  1. 云栖社区>
  2. 博客>
  3. 正文

markdown编辑器试用,nice!

管振纬 2015-12-31 17:53:31 浏览705
展开阅读全文

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

网友评论

登录后评论
0/500
评论
管振纬
+ 关注