How to mask an view with an black-white image?
Posted
by mystify
on Stack Overflow
See other posts from Stack Overflow
or by mystify
Published on 2010-04-05T11:03:27Z
Indexed on
2010/04/05
11:23 UTC
Read the original article
Hit count: 272
iphone
I've heard that it's possible to mask views with black/white images, where black means fully transparent and white means view is visible. The big difference to clipsToBounds is that the view could be clipped in funny shapes like circles or stars. How could I do that?
© Stack Overflow or respective owner