English 中文(简体)
如何在讲法语国家中形成透明的网络观点
原标题:How to create a transparent web view in iphone

i m parsing an rss inform andloading it in webview.ive在网上浏览中树立了形象。 w是一份透明的网络概览,显示图像和教义内容......以下是法典。

[self.itemSummary loadHTMLString:[item objectForKey:@"description"] baseURL:nil];

[self.itemSummary setClipsToBounds:YES];

self.itemSummary.opaque=NO;

self.itemSummary.backgroundColor=[UIColor clearColor];
问题回答

Check this discussion:
https://discussions.apple.com/message/9175823?messageID=9175823&

<<>Summary

• 透明:

[myWebView setBackgroundColor:[UIColor clearColor]];
[myWebView setOpaque:NO];

3. 使网页本身透明(仅使用一页):

<body style="background-color: transparent">
body{background-color:transparent;}

IDWeb有一台英国广播公司。 观点执行,对包括这一版的读者在内的许多发展者来说是误导的。

If you set "backgroundColor" property to "ClearColor" and "opaque" property to "NO"(unchecked) this should ve worked... But it doesn t

然后,开发商寻找其他旗帜、解决办法等。

真正的解决办法是建立法典背景,而不是国际银行。

** 本文件迟交。 本文件迟交。

因此(1) 您应将“opaque”财产设定为“NO”在IB中,

并且,不论(由于BUG)是否拥有你为IB的网上意见所设定的“后地Color”财产,

you still HAVE TO (due to the BUG) (2) set the "backgroundColor" property in code, conveniently in "viewDidLoad" or "viewWillAppear"

(1) + (2) 是魔法......

** 本文件迟交。 本文件迟交。

希望这一帮助





相关问题
How to change out-of-focus text selection color in Xcode?

Okay, I ll bite. I ve got really pleasant code/window colors set up in Xcode. Ordinarily, my selection color is very visible. When I am doing a project search and iterating through the results, ...

Iphone NSTimer Issue

Hi I am new to objective c. I am trying to make an app for iphone. I have a button on my view, and the click on which the function playSound is called. This is working properly. It does plays the ...

Include a .txt file in a .h in C++?

I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Xcode open two editor windows with same file

Is it possible to open the same file in two separate windows in Xcode. I can open a file in one window and the same file in the main Xcode editor window, but I wanted two separate fulltime editor ...

Forcing code signing refresh in Xcode

In our environment, we share resources across multiple projects and platforms. When building for iPhone, only a subset of those resources are needed. Since that subset is still considerable, we have ...

热门标签