【发布时间】:2012-02-01 16:37:23
【问题描述】:
我有这个 html 页面: 代码:
<html>
<!-- ... -->or explicity set the background-color CSS property to transparent:
<head>
<style type="text/css">
html,
body {
background-color: transparent;
}
</style>
<!-- ... -->
</head>
和一个 uivewbview : 代码:
[webv setBackgroundColor:[UIColor colorWithWhite:1 alpha:0.8]];
[webv loadRequest....];
页面已显示,但背景为白色。 如果我在页面结束之后的开始结束之前滚动页面,我可以看到透明度(页面显示在哪里) 我可以有一个完整的透明 html 页面,这样我就可以看到 uiwebview 的背景了吗? 谢谢
【问题讨论】: