我正在尝试使用[UIPrintPageRendererdrawPageAtIndex:inRect:]将四个webView转换为pdf。但是,在iOS8.1.1中,它会在达到这一点时挂起。没有错误消息,如果我尝试继续,代码会在此时继续中断。有没有其他人看到这个问题并找到解决这个问题的方法?当我在渲染器上设置paperRect和printableRect时,它会导致挂起。如果我省略这些行,应用程序不会挂起,但生成的pdf是空白的。这是代码(已更新):inti=0;UIPrintPageRenderer*renderer=[[UIPrintPageRendereralloc]init];f