I am able to add the footer in a pdf, using TPPDF library in iOS. But I am not able to keep the footer on every page of the PDF. Any solution for the same?
Here is how I have used the footer:
**let attributedString = NSAttributedString(string: "Page 1 of 1", attributes: regularTextAttributes)
document?.add(.footerLeft, attributedText: attributedString)**