Re: After popping view controller, table view scrolls sideways

2013-08-16 Thread Rick Mann
On Aug 16, 2013, at 23:30 , Roland King wrote: > That's fair enough. One thing Rick could try is breakpointing in his override > of setContentSize:, if the stack trace at the point it sets the size > incorrectly is called something like _resetToOriginalContentSize .. that is > at least the sa

Re: After popping view controller, table view scrolls sideways

2013-08-16 Thread Roland King
On 17 Aug, 2013, at 1:18 PM, Kyle Sluder wrote: > Cargo cults are insidious because they often start out as legitimate > solutions to real problems, but become community wisdom by way of similarity. > > I don't doubt your solution to your problem (but would love the opportunity > to verify it

Re: After popping view controller, table view scrolls sideways

2013-08-16 Thread Rick Mann
I think you meant "Rick adopting it." I think my situation is triggered by the way I pre-push to a detail view. If I can do that differently, it might not happen. On Aug 16, 2013, at 22:18 , Kyle Sluder wrote: > Cargo cults are insidious because they often start out as legitimate > solutions

Re: After popping view controller, table view scrolls sideways

2013-08-16 Thread Kyle Sluder
Cargo cults are insidious because they often start out as legitimate solutions to real problems, but become community wisdom by way of similarity. I don't doubt your solution to your problem (but would love the opportunity to verify it for myself). I'm just concerned about Roland adopting it bec

Re: After popping view controller, table view scrolls sideways

2013-08-16 Thread Roland King
On 16 Aug, 2013, at 11:57 PM, Kyle Sluder wrote: > On Aug 16, 2013, at 7:14 AM, Rick Mann wrote: > >> >> On Aug 16, 2013, at 04:12 , Roland King wrote: >> >>> Basically auto layout gets it right then calls a method which resets the >>> content size to what it was before, I know not why. I

Re: After popping view controller, table view scrolls sideways

2013-08-16 Thread Rick Mann
On Aug 16, 2013, at 08:57 , Kyle Sluder wrote: > On Aug 16, 2013, at 7:14 AM, Rick Mann wrote: > >> >> On Aug 16, 2013, at 04:12 , Roland King wrote: >> >>> Basically auto layout gets it right then calls a method which resets the >>> content size to what it was before, I know not why. I ha

Re: After popping view controller, table view scrolls sideways

2013-08-16 Thread Kyle Sluder
On Aug 16, 2013, at 7:14 AM, Rick Mann wrote: > > On Aug 16, 2013, at 04:12 , Roland King wrote: > >> Basically auto layout gets it right then calls a method which resets the >> content size to what it was before, I know not why. I have a method >> somewhere which catches this content size c

Re: After popping view controller, table view scrolls sideways

2013-08-16 Thread Roland King
Here's mine, right from the source (note I only have one section in this table so rectForSection: works fine), the code is 'first do no evil' code so it just blocks incorrect sizes and does nothing, just letting the correct ones through. The motivation for this particularly vile piece of code c

Re: After popping view controller, table view scrolls sideways

2013-08-16 Thread Rick Mann
On Aug 16, 2013, at 04:12 , Roland King wrote: > That's probably it then. Can't tell you the fix as I'm I'm the arse end of > nowhere using a phone for mail. Hehe, no worries. > Basically auto layout gets it right then calls a method which resets the > content size to what it was before, I

Re: After popping view controller, table view scrolls sideways

2013-08-16 Thread Roland King
That's probably it then. Can't tell you the fix as I'm I'm the arse end of nowhere using a phone for mail. Basically auto layout gets it right then calls a method which resets the content size to what it was before, I know not why. I have a method somewhere which catches this content size chan

Re: After popping view controller, table view scrolls sideways

2013-08-16 Thread Rick Mann
On Aug 16, 2013, at 04:04 , Roland King wrote: > Auto layout for this project? I've had loads of issues with scroll views > resizing themselves badly under auto layout. I have a hack I use for it but > it's on my box at home. Yep, autolayout. -- Rick __

Re: After popping view controller, table view scrolls sideways

2013-08-16 Thread Roland King
Auto layout for this project? I've had loads of issues with scroll views resizing themselves badly under auto layout. I have a hack I use for it but it's on my box at home. > On 16 Aug, 2013, at 18:33, Rick Mann wrote: > > I have a pretty straightforward UINavigationController in a > UIPopo

After popping view controller, table view scrolls sideways

2013-08-16 Thread Rick Mann
I have a pretty straightforward UINavigationController in a UIPopoverController. When it first comes up, it's a table view with a list of items and it works as expected. If you select and item, then go back, suddenly the original table view controller can scroll sideways. It's as if the UITable