0

How to use UITableView within UITableViewCell for drop down list in iOS Objective-C and shown in the below figure.

enter image description here

Janmenjaya
  • 4,149
  • 1
  • 23
  • 43
Veeresh
  • 19
  • 1
  • 5

1 Answers1

1

You basically hide the tableView inside cell when your app loads, then animate it to show when tapped.

Here are some links for obj c Examples regarding expandable tableView (a bit old)

https://www.cocoanetics.com/2011/03/expandingcollapsing-tableview-sections/ http://www.codeproject.com/Articles/240435/Collapsable-Table-View-for-iOS

Or just use a library written by someone else and modify it to your liking

https://github.com/sakkaras/SKSTableView

If you can translate from swift, here's a good tutorial

https://www.appcoda.com/expandable-table-view/

Zayne ZH
  • 406
  • 3
  • 9