tags:

views:

93

answers:

0

i'm having a UItableView with lot of cells. Each cell is associated with different kind of popovers. When i touch a cell a popover will be shown. When i touch the other cell of the tableview i want to dismiss the existing popover and i've to show the popover corresponding to the selected cell.

But, when i touch the area outside the popover, the existing popover gets dismissed but i couldn't retrieve the cell index i've selected. Is there any way to dismiss an existing popover and show another popover in a single touch in ipad?

Solved the Problem

I've got the solution by setting passthroughView of the popover as the tableview in which i want to display the popover.