I want to implement the expandable list in iOS as in Android where the use clicks on any cell of the UITableView and the cell expands to show the rest of the details. For example, I am showing few questions on each table view cell. On clicking the table view cell it expands to show the answers under the question.
Sample Image which i want to acheive is as:
Asked
Active
Viewed 216 times
0

byJeevan
- 3,728
- 3
- 37
- 60

Michelle Root
- 185
- 1
- 3
- 9
-
user below swift library to make this features like https://www.cocoacontrols.com/controls/kjexpandabletabletree – Dhaval Patel Jun 24 '17 at 07:57
-
Maybe helpful: https://stackoverflow.com/questions/4635338/uitableviewcell-expand-on-click – shallowThought Jun 24 '17 at 08:31
1 Answers
-1
implement heightForRowAtIndexPath:
, and when you touch to cell , change height row property and reload data.

Stanislav Kramarenko
- 50
- 6