I\'ve used a WKWebview for my iOS app in Swift. It displays HTML code which is then rendered to a PDF using UIPrintPageRenderer(). The WKwebview has webConfiguration.dataDe