Re: [iPhone] Zero opacity causes UIView to go numb (solved)

2009-07-24 Thread Sebastian Morsch
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

[iPhone] Zero opacity causes UIView to go numb

2009-07-23 Thread Sebastian Morsch
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

Re: [iPhone] Zero opacity causes UIView to go numb

2009-07-23 Thread Hank Heijink (Mailinglists)
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