How to do like that? I don't know how to do..Help me.
+1
A:
Two ways... First, if you're using a PNG as the background image for the view, the PNG needs to be semi-transparent.
Second, if you're going to select a color for the background, you can do it programatically:
UIColor *backgroundColor = [UIColor colorWithRed:0.5 green:0.5 blue:0.5 alpha:0.5]; //create a translucent gray background
view.backgroundColor = backgroundColor; // set your view's background color to the new background color
Dustin Pfannenstiel
2010-03-22 01:01:15
I should mention that the "alpha" is the opacity of the color.
Dustin Pfannenstiel
2010-03-22 02:15:07
+1
A:
UIImageView is a subclass of UIView, which has an alpha property that can be set to enable transparency, values from 0 to 1.
example:
MyView.alpha = 0.5;
Eric Schweichler
2010-03-22 01:04:06