Table view issue
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
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....
happening to me as well.. trying with collectionview...
Any solution for this please?
any update to this?