Using autosizing UITableViewCells and they work fine except occasionally on rotation when a cell will suddenly be too tall or something until it's scrolled off screen and back.

@bigzaphod I’d be happy to have a look if you like. I’ve dealt with that kind of weirdness before.

@sgoodwin what should I look for? There's a couple stack views in here - which I'm suspicious about.

@bigzaphod yeah that can do it. Is there showing/hiding happening with them per cell?

@sgoodwin I have a vertical stack view where I set isHidden on one of the views to show/hide it when the cell is first setup. This seems to work okay right up until I rotate and then i'm pretty sure it's reusing a cell that was previously taller, setting new content, and for whatever reason, constraints don't update or something maybe.. and it leaves the cell too tall.


@bigzaphod where do you update these properties? Maybe you need a prepare for reuse.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!