I have an app which I have set to support landscape (which works fine) but when I turn the device on its side, the UITableView does not resize itself. What is the easiest way of
a) Checking for the UIOrientation
b) Adjusting the table accordingly
What I was thinking was a simple if-else statement when laying out the table view, but it only ever runs the loop once, so when the device is rotated, it doesn't change the contents.
a) Checking for the UIOrientation
b) Adjusting the table accordingly
What I was thinking was a simple if-else statement when laying out the table view, but it only ever runs the loop once, so when the device is rotated, it doesn't change the contents.