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

Sean7512

macrumors 6502a
Original poster
Jun 8, 2005
857
55
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.
 
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.

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?
 
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?

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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.