How can I change the background image view transparency image?

Posted by Tattat on Stack Overflow See other posts from Stack Overflow or by Tattat
Published on 2010-05-09T06:55:14Z Indexed on 2010/05/09 7:08 UTC
Read the original article Hit count: 187

Filed under:
|
|
|

It is the code:

self.view.backgroundColor= [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"yourimage.png"]];

My "yourimage.png" have some space that is transparency. But it shows me it becomes black. How can I change it to show the transparency instead of black color? thz.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk