sgr-ksmt / PDFGenerator

A simple generator of PDF written in Swift.
MIT License
755 stars 110 forks source link

UICollectionview only first cell get rendered #104

Open Tonku opened 5 years ago

Tonku commented 5 years ago

HI I am trying to make pdf from a collection view and only one cell get printed, have many cells which scroll both horizontally and vertically

Here is the code

do { let data = try PDFGenerator.generated(by: [collectionView]) try data.write(to: fooURL, options: .atomic) } catch (let error) { print(error) } Attaching the output sample.pdf

kishorekumarek commented 2 years ago

Were you able to solve this