I have a table view for listing users, on a button click i want to show another table view as pop up…Just like action sheets….
Any help is appreciated….
I am uploading an sample image here…!

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’d create a separate UITableViewController for the mini table, feed it the relevant datasource once the user has selected a cell from the big table. Then add the mini table’s view as a subview to the main view, maybe have a transparent UIView between the mini table and the big table so that user gestures do not get passed to the big table.
[EDIT]
You can have the same View Controller be the data source and delegate for more than one table view. You may have noticed that all the UITableView’s delegate methods supply a reference to the originating tableview so you can differentiate between the big and mini table, i.e. you can have a different number of rows for each table, different cells, etc.
It much the same as my suggestion above except its not as clean, you will have to have code such as the following in each delegate method:
You will still need add the mini table as a subview of the View Controller’s view, again as I explained above. I suggest you use a separate UITableViewController for the mini table unless you have a good reason not too?
Hope all that made sense 🙂