Re: After popping view controller, table view scrolls sideways
Re: After popping view controller, table view scrolls sideways
- Subject: Re: After popping view controller, table view scrolls sideways
- From: Rick Mann <email@hidden>
- Date: Fri, 16 Aug 2013 23:36:42 -0700
On Aug 16, 2013, at 23:30 , Roland King <email@hidden> 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 same method which has been resetting mine incorrectly after it earlier set it correctly. I don't have any push/pop on mine either, it's a one-screen app. I never got further with it, just could not find anything unusual I was doing which caused it.
>
I did put a breakpoint there. It gets called with a bad size in two places: during my call to -selectRowAtIndex path on the first table view, and again when popping the pushed view controller. The second of these two calls is in _resizeWithOldSuperviewSize.
> I've tested one of them with iOS7 this morning, don't see the issue, rechecked it on 6, still did. I'm holding out a little hope this is fixed, or the edge case I got myself into has been sorted out. Other two projects will take a bit more work to iOS7-ify but I should get on with it anyway.
Bah. I'm getting so fed up with Apple not fixing bugs in dot releases.
--
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden