I'm trying to display an ad in UIView... I need to set the background color to transparent... I tried using,
[viewObject setBackgroundColor:[UIColor clearcolor]];
Eventhough it made the UIView transparent, it is displaying white background...
Below is the HTML code I tried...
NSString *HTML = [NSString stringWithFormat:@"<html><head><meta name=\"viewport\" content=\"width=device-width, user-scalable=no\"/><style>*{margin:0px;padding:0px}</style>
</head><body style=\" background-color:transparent\"><div style=\"text-align: %@\">%@</div></body></html>",adAlignment,link];
Thanks in advance...
Regards,,
Suraj