Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 30th, 2012  |  syntax: None  |  size: 0.40 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Using transparent background color in UIView by HTML code
  2. [viewObject setBackgroundColor:[UIColor clearcolor]];
  3.        
  4. NSString *HTML = [NSString stringWithFormat:@"<html><head><meta name="viewport" content="width=device-width, user-scalable=no"/><style>*{margin:0px;padding:0px}</style>
  5. </head><body style=" background-color:transparent"><div style="text-align: %@">%@</div></body></html>",adAlignment,link];