Guest User

Untitled

a guest
Jun 17th, 2012
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. How to create a transparent web view in iphone
  2. [self.itemSummary loadHTMLString:[item objectForKey:@"description"] baseURL:nil];
  3.  
  4. [self.itemSummary setClipsToBounds:YES];
  5.  
  6. self.itemSummary.opaque=NO;
  7.  
  8. self.itemSummary.backgroundColor=[UIColor clearColor];
  9.  
  10. [myWebView setBackgroundColor:[UIColor clearColor]];
  11. [myWebView setOpaque:NO];
  12.  
  13. <body style="background-color: transparent">
  14. body{background-color:transparent;}
Advertisement
Add Comment
Please, Sign In to add comment