TransWeb

Last Revision:
Version 1.4, 2010-06-25
Updated iTunesArtwork.
(Full Revision History)
Build Requirements:
iOS 4.0 SDK or later
Runtime Requirements:
iPhone OS 3.2 or later

Demonstrates how to implement UIWebView with a transparent background.

To achieve this you need to make the HTML body's background color transparent by doing the following -

1) set the UIWebView's backgroundColor property to [UIColor clearColor]

2) use the UIWebView's content in the html: <body style="background-color: transparent">

3) the UIWebView's opaque property set to NO