I want to implement a drop-down list in an iPhone application, the same like you might have seen in iBooks when you select PDFs/Books.
I have a slight idea how to implement it, just correct me if I am wrong:
- Create the button
- On a click event of the button define a
CGRect
and within theCGRect
draw aLoadTableView
- Load
TableViewData
at runtime.
Is that correct? If not, how should I do it?