I have already tried to implement UISwitch in the tabeleview cell,now the switch state is automatically changed while i scroll and change the view ,
Please guide me....
I have already tried to implement UISwitch in the tabeleview cell,now the switch state is automatically changed while i scroll and change the view ,
Please guide me....
You can use
NSMutableDictionaryfor holding the information regarding particular cellUISwitchobject. If you have enable a UISwitch button for a cell then set Bool yes and tag value as well in theNSMutableDictionary. Enable the switch for a particular cell object according toNSMutableDictionaryvalues in cellFor rowAtIndexPath.