Rendering a UIView into a PDF as vectors on an iPad - Sometimes renders as bitmap, sometimes as vectors

前端 未结 5 1981
眼角桃花
眼角桃花 2020-12-13 14:41

I have an iPad app and I\'m trying to generate a PDF from a UIView and it\'s almost working perfectly.

The code is really simple as follows:



        
5条回答
  •  一个人的身影
    2020-12-13 15:18

    What about if you add the view on screen but at offscreen coordinates. This seems more like a hack but it might work.

提交回复
热议问题