objective c - How to create a transparent web view in iphone -
i m parsing rss feed , loading in webview..ive placed image in background of webview.wat want transparent webview shows image , parsed content ....below code..cud u guys me out...the itemsummary contains parsed feed
[self.itemsummary loadhtmlstring:[item objectforkey:@"description"] baseurl:nil]; [self.itemsummary setclipstobounds:yes]; self.itemsummary.opaque=no; self.itemsummary.backgroundcolor=[uicolor clearcolor];
check discussion:
https://discussions.apple.com/message/9175823?messageid=9175823&
summary
make uiwebview transparent:
[mywebview setbackgroundcolor:[uicolor clearcolor]]; [mywebview setopaque:no];
make page transparent (use one):
<body style="background-color: transparent"> body{background-color:transparent;}
Comments
Post a Comment