How to add a UITableView inside the UIAlertView in iPhone?

Pugalmuni picture Pugalmuni · Jul 22, 2011 · Viewed 17.1k times · Source

I want to add the UITableView inside the alert view.

I have tried to add a table view as a sub view of alert view, it's not working. Can you give me some code or sample link for that?

How can I do that?