I have a WebDataSource and I want to get pure HTML from it. How can I do this? The way I've done it so far:
It gets WebArchive, and then there is data from WebArchive but when I try to store it in string, do not know the encoding name? What should I use? I used a lot and it gives me zero how can I encode it using WebDataSource?
Thank you!
I'm not sure what WebDatasor really wants for you. If you want to get HTML, you should use NSURLRequest, which will drag HTML as NSData. You can encode it into a string with NSUTF8StringEncoding.
Are you familiar with NSURLRequest?
Comments
Post a Comment