开发者

Making a background of a UIViewController less "alpha"

I have an image that I want to use as the background of my UIViewController. I can add it as a UIView. The point is that I want to add some transparency to it. I don't want the image to be as opaque as the original image, because it has some graphics on it and would be way too distracting. So I want to make it faded, sort of. I hope that makes sense.

Maybe I开发者_高级运维 should subclass UIView? Can anyone show me the code to do something like this?


you can set alpha of the uiview from the xib else you can use [self.view setAlpha:0.5]

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜