How to get a snapshot of UITableView in a PDF format

前端 未结 5 535
一向
一向 2021-01-31 12:22

I have a UITableView which is populated with some data but since it contains data that is more cells than the viewable area of the screen, I only managed to get onl

5条回答
  •  Happy的楠姐
    2021-01-31 13:19

    There are no offscreen cells because they are recycled as soon as they scroll out of the visible screen. Instead screenshoting the UITableView, you should consider creating a PDF version using Core Text. Maybe you can adapt this example.

提交回复
热议问题