Aug 11, 2010, 11:03 AM
I did a customer table view and use it both in Landscape or Portrait as pictures, it is not good in portrait mode, I want to solve it but I am not sure which way is better and simple to do, what is your selection?
1. make another view for portrait mode
2. hide most right columns in portrait mode
Aug 11, 2010, 02:02 PM
Possible things to try:
Make the text smaller in landscape so all the content fits.
Put the information on more lines with less info per line.
Remove one of the columns in portrait.
I'm not sure if this is possible. Maybe you could put the table into a scrollview so the table could be scrolled horizontally. I know that a table view is a subclass of UIScrollview but I think the table won't allow itself to be wider than the screen. Maybe there is some other way to make the data wider than the screen and scrollable horizontally.
I assume that your data are in a UITableView. If not then you can certainly make the view wider than the screen and place it into a scrollview and scroll it horizontally.
In general it's OK for the appearance to be different in portrait vs landscape. Users will choose the one they like once they know there are differences.