Start a Project

Create Single Expanded TableView in iOS.

Single Expanded Table View

When we need to show only single expanded table view, means to tap on any section then it will expand and show their child.

for this, we need to follow some steps.

1: Take one UITableView and create their outlet to class like sampletableView.

2: set their data source and delegate.

3: Now create their array here I Have taken two arrays one for boolean value and other their data .

4: Now write their delegate methods.

Exit mobile version