开发者

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 开发者_JS百科UISwipeGestureRecognizer performs an action.

thanks


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜