hanumanDev
hanumanDev

Reputation: 6614

UIView action - UISwipeGestureRecognizer

I have an action hooked up to a UIView. the action was working fine until I turned the alpha of the UIView down to 0. Does anyone know why this might happen or a workaround?

the action is for a UIView that when swiped with a UISwipeGestureRecognizer performs an action.

thanks

Upvotes: 0

Views: 500

Answers (1)

Ole Begemann
Ole Begemann

Reputation: 135588

AFAIK views that have an alpha value below a certain threshold (0.1 or so) don't receive touch events.

Upvotes: 1

Related Questions