iphone - How to design an expandable view with tableview content? -


I have a customer who wants to apply it:

To scroll one with X Expandable view wi cells with appropriate tableviews are not scrollable to main view. If I tap the drawer C. then drawer A should collapse and expand the drawer c.

I have seen similar structures, but the tables are not inside the scenes, so I do not know how this is right. / P>

What is the best way to do this?

1) A tableview with the "inner" table view

2) Multiple custom views with a button and a tableview

3) Something else?

How do you implement it?

thx!

I have done this kind of implementation but do not want to take source code with me. The way I have done, I can guide you ... I will tell you the way you did it, and you can illustrate the example.

  1. You will need 3 buttons (give them different tags) with 3 bull flag with 3 ball flag.
  2. You will need 3 tableview Diff tags
  3. If the screen height is 480 and all the buttons height is 20, then the remaining height will be 480-3 * 20 = 420 so that's all the table The height of the scene is.
  4. Find the associated table view, on any button click event, based on the click button.
  5. Click Set flag value on the button and using the Bull flag value will decide to show and hide the table view and also the on / off image on the button.

Comments