How to make an html body transparent for UIWebView
Hii....i am new to iPhone programming..Can anybody help me out please
i have an html which is generated by eXe tool.I need to show it on an UIImageView. so the html has to be transpar开发者_Python百科ent then the image looks like backround.
is it possible to make that html as transparent..?
Thank u
I just used this, and it worked fine. [UIColor clearColor] and [myWebView setOpaque:NO] are missing the square brackets, though. BTW, you can also set the background style in the html to an rgba value instead of totally transparent if you need, e.g. body { background:rgba(255,255,255,0.6); }
just write this line to become the UIWebView Transparent
[myWebView setOpaque:NO]
精彩评论