Completely transparent views (opacity 0.0) don't receive touch events
Thanks Hank, good to know! :-)
you're not missing anything there
Actually, I did. I was thinking to complicated by animating 'opacity'
for hiding/revealing a CALayer. That's exactly what's its 'hidden'
property
Hi,
I *KNOW* this must be something absolutely stupid I'm missing, but I'm
stuck with this:
I have an UIView that's supposed to display an explanatory overlay
image whenever it's touched. When the user lifts the finger, the
overlay should fade away. To accomplish this I do the following
Completely transparent views (opacity 0.0) don't receive touch events
- you're not missing anything there. As you have found, a little
opacity is enough to catch them again. Depending on what's in your
view, you might be able to set the background color to [UIColor
clearColor] to get the