Unable to interact with switch when added as subview to UIView and that view as a subview to cell
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.
精彩评论