
Untitled
By: a guest on
Jun 17th, 2012 | syntax:
None | size: 0.42 KB | hits: 17 | expires: Never
How to create a transparent web view in iphone
[self.itemSummary loadHTMLString:[item objectForKey:@"description"] baseURL:nil];
[self.itemSummary setClipsToBounds:YES];
self.itemSummary.opaque=NO;
self.itemSummary.backgroundColor=[UIColor clearColor];
[myWebView setBackgroundColor:[UIColor clearColor]];
[myWebView setOpaque:NO];
<body style="background-color: transparent">
body{background-color:transparent;}