Hello,
I'm working on an iPhone application. This is a tab bar application, containing a navigation view controller within one particular tab. I have a table view in the navigation view controller. In this groupe table, I need to add some UISwitch to some particular items. for instance, I have the following sections:
- accounts
- twitter (&)
- facebook (&)
- publication
- twitter (*)
- facebook (*)
- linkedIn (*)
- connection
- stay connected (*)
- about
- about
I need to have the UISwitch for the ones with the * but not for the other ones. I manage to add the UISwitch for thoses ones using condition on indexPath in the tableView:cellForRowAtIndexPath methods. BUT... when I scroll the view... the UISwitch are added to some other items (the one with the & above).
Could you please help ?
Thanks a lot,
Luc