2009年9月26日 星期六

Transparent Background on iPhone UIWebView

Here's the simple solution to creating a UIWebView with a transparent background:

* set your background color of the UIWebView to clear
* set the css for the body to background-color: transparent
* set the opaque property of the UIWebView to NO

參考來源:

"Transparent Background on iPhone UIWebView
- e-venture: Transparent Background on iPhone UIWebView (在「Google 網頁註解」中檢視)