I have a popover view which displays a table with two rows and the size of the popover is adjusted to show only those two rows. After i click any one of the rows i navigate forward to a new table view and the popover size increases accordingly. when i navigate back to the original table view having two rows the popover size increases by one row. It shows a three rows with a empty third row.
Please find my code below.
in initWithFrame for the table view i set the value for popover using contentsizeforviewinPopover. works fine when the view loads
After navigating back i am setting the same value(contentsizeforviewinPopover) inside viewwillAppear. But now the view has three rows.
Please suggest any solution.