I am getting the text in html format in my iPhone application. I need to take the printout of the page but I don’t want that tags are also shown in the print out in simple text.
How can this be done in my iPhone application to have the print functionality which prints the html document directly but not the html tags?
Here, you can use the following function to pring the html page in iPhone app.
(1) This method in the controller where to print html.
(2) This method in the appDelegate class and also import MyPrintPageRenderer.h
(3) Here you also need to add one class file for the print functionality:
MyPrintPageRenderer.h File
MyPrintPageRenderer.m File
Let me know if you need more help. It will pring the html document as you required.