Search code examples
uitablevieworientationcell

UITableView cell multiline orientation problem


I was created one small business application.. In my application i used landscape and portrait mode orientation. Here in UITableView cell the multiline does not fit toboth modes...So how can solve this problem...


Solution

  • You have to change the autoresizingMask of the UITableView.

    You can do that programmatically or, recommended, throught Interface Builder (see "Autosizing" inside the Size Inspector).

    Hope this helps.