Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mikezang

macrumors 6502a
Original poster
May 22, 2010
854
7
Tokyo, Japan
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
 

Attachments

  • SnapShot 2010-08-11 at 23.55.11.jpg
    SnapShot 2010-08-11 at 23.55.11.jpg
    65.3 KB · Views: 58
  • SnapShot 2010-08-11 at 23.55.21.jpg
    SnapShot 2010-08-11 at 23.55.21.jpg
    62.9 KB · Views: 61

PhoneyDeveloper

macrumors 68040
Sep 2, 2008
3,114
93
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.