I have main view and i added subview to it. I set subview’s background to be semi transparent, but subview is drawn in solid color. I even tried setting opaque to NO.
detailsView.opaque = NO;
detailsView.backgroundColor = UIColorMakeRGBA(0, 0, 100, 100);
I can make the vsubview to be transparent via alpha property (but all things on subview will also be transparent), but i really want just to set background color to be semi transparent.
Set
alphato desired value incolorWithRed:green:blue:alpha method