Which way should I choice when rotate iPad

Discussion in 'iPhone/iPad Programming' started by mikezang, Aug 11, 2010.

  1. macrumors 6502a

    Joined:
    May 22, 2010
    Messages:
    733
    Location:
    Tokyo, Japan
    #1
    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
     

    Attached Files:

  2. macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    Messages:
    2,675
    #2
    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.
     

Share This Page