Transparent UIWebView in iPhone application

Hi Folks,

Today, lets try to implement a transparent web view in our iphone application.

Its quite simple and easy to use.

1. Set the background color of UIWebView to clear color.
[myWebView setBackgroundColor:[UIColor clearColor]];
2. Set the Opaque property of the UIWebView to NO. 

myWebView.opaque = NO;
3. Set the html page, body background property in style to transparent.
 You can refer the above mentioned settings given in Apple Sample code, TransWeb.

Comments

Popular posts from this blog

Connect Samsung devices to Kies on Mac

Integrating ZXing QR Code reader in iPhone / iOS applications

Multiple line of text in UIPickerView