开发者

Unable to interact with switch when added as subview to UIView and that view as a subview to cell

开发者 https://www.devze.com 2023-01-21 09:03 出处:网络
I m adding UIView to cell which has a switch as a subview to it. No开发者_StackOverflow社区w I am not able to interact with the Switch. It does not change to value when I tap on it.Check if the view h

I m adding UIView to cell which has a switch as a subview to it. No开发者_StackOverflow社区w I am not able to interact with the Switch. It does not change to value when I tap on it.


Check if the view has the userInteractionEnabled property set to YES.

0

精彩评论

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