On rotation table cells do not take up the full width of the table

When the app first loads the table and cells are correct. When you rotate to landscape mode the table cells look like they are still set up for portrait mode. When you rotate back to portrait the table cells are set up for landscape mode.

Is there any way to manage this in the code?

Thanks

Answers


Looks like I spend for ever looking for an answer and when I break down I ask a question, then 5 min. later I find the answer.

Well here you go. Hope this helps out someone.


-(void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation{
    [self.tableView reloadData];
}


Need Your Help

Rounding off values displayed on chart

javascript rounding

I have a simple c3 chart with hard coded values.

DRM over SD Cards safe?

windows-ce uuid sd-card drm serial-number

I'm trying to implement a DRM based around SDCard's serial number in Windows CE. There are a few question I'm concerning.