forum

Home / DeveloperSection / Forums / Converting web view contents into UIImage in iOS.

Converting web view contents into UIImage in iOS.

Anurag Sharma 1470 06-Jan-2016
I have created a UIWebView in our iPhone application for displaying HTML formatted text. I want to animate web view on screen actually (2 to 10 times). and also my web views having transparent backgrounds.
after that web view is little heavy and although I haven't attempt it yet. I'm planning for the worst(I don't think it is premature optimization, I think it can be an issue).

I want to convert those contents of the web view into UIImages and using animation on it.
So, my problem is: How can I convert Web View contents into UIImage or CGImageRef? and Is transparency of web view be carried on to the UIImage?
Anyone have suggestions for my Issue, then please help me.

Updated on 07-Jan-2016

Can you answer this question?


Answer

1 Answers

Liked By