can a particular rect of UIview have different alpha..?

Viewed 4171

I wan't a imageview which is semi-transparent in other parts and completely transparent in the middle .. see this image.. enter image description here

i have managed to do it but it is not the best of ways.. can I only have a rect inside yellow lines transparent ...?

EDIT: Is it possible to change the alpha of a certain rect of a view..?

6 Answers
Related