I present/dismiss modal view controller with tableview in it. Each presenting/dismissing causes the table to move down, leaving a gap between the table and top of the view. so each time i present after a dismiss, i see my table going down one row-height distance . keeping the routine, the table really 'leaves ' the screen. Please help.
views:
55answers:
1
A:
If you use XIB, check autoresize option of your table view in the Interface Builder
vaddieg
2010-05-10 21:50:42
I don't use xib.
2010-05-10 21:52:45
Then make sure you call myTableView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight.
vaddieg
2010-05-10 23:41:16
didn't solve the issue. i tried both in the tableview controller method's implementation (viewWilLoad and others) and inside the implementation of the method which brings up the modal view.
2010-05-11 07:15:15