views:

76

answers:

1

Hi,

I have a UITableViewController with a table view that works perfectly when in portrait mode.

the problem is when IO rotate the phone the tableView won't scroll all the way through it keeps bouncing back. (have switched bounce scrolling off) I suspect the tableview size is not correct but I can't fibure out why this works for multiple tableviews in the app except this one.

A: 

Make sure the table view's autoresizingMask property is set to UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight, or manually set its frame to the fit its containing view in your view controller (you are using a view controller, right?)'s -willAnimateRotationToInterfaceOrientation:duration: method.

Noah Witherspoon
Thanks, it only does it on the sim when i checked the phone it works fine ??
MB