tags:

views:

12

answers:

1

Hi, I m adding UIView to cell which has a switch as a subview to it. Now I am not able to interact with the Switch. It does not change to value when I tap on it.

A: 

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

brutella
userInteractionEnabled property is YES but then also its not working
Javal Nanda
please check the property for all views (cell, view, switch...)
brutella
yes i have kept userInteractionEnabled for all the components :- 1)for cell contentview 2)for view 3) for switch. still i m not able to interact with the switch. whereas if I directly add switch to cell contentview there is no problem.
Javal Nanda