I want to set functionality like add or remove new social profile in contact, in my table view. here I attached screenshot. please any one help me on this .

- 5,018
- 2
- 25
- 45
-
Any one specify why the negative vote .. – Divya Bhaloidiya Dec 27 '13 at 07:09
-
1I'm guessing the down vote is because you didn't include what you've tried already. – Brian Shamblen Dec 30 '13 at 08:32
-
I worked around add and delete row functionality but its not worked looked like above. – Divya Bhaloidiya Dec 30 '13 at 09:29
-
I guess the negative vote is because you haven't given any code or specified exactly where in your project, you're having a problem – manman Jan 05 '14 at 23:40
2 Answers
Please add the code or include the details what you've tried already.
However there are many custom tableview controls are available.
Please look at MSCMoreOptionTableViewCell for iOS and customize a little bit to achieve your goal.
Also please look at the developer.apple - CreateConfigureTableView documentation and Customize Cells.

- 30,739
- 9
- 69
- 102
I think its very easy approach. 1. Just have your add cell in second section of your table view 2. Then enable editing in table view 3. when user tap the add more cell just add new cell in section 1.
The delete action will take care of by default behavior. its easy to disable delete for section.
Enable UITableView edit only in a specified section
for changing the default delete icon refer this but this is not necessary.
Change default icon for moving cells in UITableView
I think there is no need of code.

- 1
- 1

- 2,258
- 25
- 50