I have a table view, I have addeed image as subview for header, but that image is shown with bagckground white color,how to set transparency for image.
TIA
For this you have to set alpha of your UIImageView
Your_ImageView.alpha = 0.6;
You can also do it in your xib file
Assuming the name of your view is myTransparentSubView:
[myTransparentSubView setBackgroundColor:[UIColor clearColor]];
If you are using the Interface Builder then set the background Color property accordingly within IB.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With