UITableViewCell Separator Not Resizing on Rotate

Discussion in 'iOS Programming' started by Sean7512, Aug 26, 2013.

  1. Sean7512 macrumors 6502a

    Jun 8, 2005
    Ok, I am completely lost right now..

    I have completed my app and am about to distribute it via ad-hoc for beta testing, but there is just 1 thing that is really bothering me in 1 screen.

    In 1 UITableViewController, the cell separator does NOT resize to fill the screen when rotated to Landscape (it stays at the portrait width of 240). I use table views in all of my views and they all work perfect, except for just one. I am using storyboard for my layout and I think I am just missing something very small and that for some reason I am not seeing it.

    It does work correctly on iOS 7, it is only broken on 6.1.

    Can anyone please recommend a fix?

    FWIW, I do not have any code in the view controller that deals with drawing based on orientation.
  2. Duncan C macrumors 6502a

    Duncan C

    Jan 21, 2008
    Northern Virginia
    Are you using auto-layout or "struts and springs" style resizing? How do you have the resize rules set for the table view? And are you doing anything unusual with the cell separator?
  3. Sean7512 thread starter macrumors 6502a

    Jun 8, 2005
    I am using Auto-Layout....I am chalking it up to be being Xcode 5. In a branch, it works fine in Xcode 4. Once the final Xcoode 5 comes out, I'll take another look at it....

    FWIW, my table is pinned at 0 for the leading, top, trailing, and bottom. And no, I am not doing anything at all with the cell separator.

Share This Page