Open Tonku opened 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
do { let data = try PDFGenerator.generated(by: [collectionView]) try data.write(to: fooURL, options: .atomic) } catch (let error) { print(error) }
Were you able to solve this
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