Sunday, December 29, 2013

Already tableView custom multi-line, click on a line, pop a drop-down view?

Already tableView custom multi-line, click on a line, pop a drop-down view?
Reply:
On the iPhone does not seem to view the drop-down control of it,
Another problem, the first set Cell height needed to load the form.
Too much trouble.
Reply:
I developed ticket search results page, there are similar needs, my approach is to work a little to realize: I am still in the drop-down view of the cell. Achieved by clicking the pull-down view of a closed cell.
There are several points to note:
1, in the (didSelectRowAtIndexPath) set whether to display the contents of
dropdown2, to re-calculate the height (heightForRowAtIndexPath)
3, in view of the decision under flag called "pull-down view of the" content is displayed
I hope to give you some inspiration.

No comments:

Post a Comment