hi i am having a uiwebview and i want to make it transperent as i have image in background in the imageview , i tried webView.backgroundColor = [UIColor clearColor]; but it didnt worked
thanks
hi i am having a uiwebview and i want to make it transperent as i have image in background in the imageview , i tried webView.backgroundColor = [UIColor clearColor]; but it didnt worked
thanks
It should work; make sure the webview is not opaque.
[myWebView setBackgroundColor:[UIColor clearColor]];
[myWebView setOpaque:NO];
You also have to check that your HTML content does not set a background color for the body tag.
body{background-color:transparent;}