PDFGenerator icon indicating copy to clipboard operation
PDFGenerator copied to clipboard

Table view issue

Open khetaram opened this issue 8 years ago • 4 comments

Hi, Only pdf is generated for the visible row of table view, other part is empty. I am getting this error message in console "<Error>: replacing +/-infinity with -2147483648." Here is the code sinppet: let path = NSSearchPathForDirectoriesInDomains(.cachesDirectory, .userDomainMask, true)
let path1 = path.last?.appending("/sample.pdf") let url = URL(fileURLWithPath: path1!) do{ try PDFGenerator.generate(self.tableView, to: url) }catch{ print("Error") }

I am using Swift 3 with Xcode 8

khetaram avatar Jun 17 '17 13:06 khetaram

This happens to me too on iOS11, we have a 3 page document with tableviews and the generated pdf file stops at the end of the 2nd page....

fanstudiouk avatar Dec 07 '17 13:12 fanstudiouk

happening to me as well.. trying with collectionview...

nasirmehmood avatar Mar 25 '18 06:03 nasirmehmood

Any solution for this please?

awessoEsso avatar Aug 17 '18 07:08 awessoEsso

any update to this?

kilabyte avatar Mar 10 '21 05:03 kilabyte