I'm searching how to print the current page in the UiWebView . I got this :
let formatter = UIMarkupTextPrintFormatter(markupText: SearchBar.text)
I don't find what I need to write instead of the SearchBar.text for printing the Web page.
I'm searching how to print the current page in the UiWebView . I got this :
let formatter = UIMarkupTextPrintFormatter(markupText: SearchBar.text)
I don't find what I need to write instead of the SearchBar.text for printing the Web page.
Copyright © 2021 Jogjafile Inc.
Instead of using a
UIMarkupTextPrintFormatter
you can get aUIViewPrintFormatter
right from the web view itself:More here on NSHipster.