You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into an issue where if I reuse a Style with UITableViewCells, it uses the correct size the first time it's shown based on the content size category, then if the content size category changes it doesn't resize until the app is relaunched.
If I change to set the font directly on the label it resizes when the content size category changes.
If I create a new instance of the Style for each cell it also resizes when the content size category changes.
Here is the simplest version I could some up with to reproduce the issue. Throw this in a UITableViewController and it should show the issue when you change the content size category using either the Accessibility Inspector or the Environment Overrides in Xcode..
I'm running into an issue where if I reuse a
Style
withUITableViewCell
s, it uses the correct size the first time it's shown based on the content size category, then if the content size category changes it doesn't resize until the app is relaunched.If I change to set the font directly on the label it resizes when the content size category changes.
If I create a new instance of the
Style
for each cell it also resizes when the content size category changes.Here is the simplest version I could some up with to reproduce the issue. Throw this in a
UITableViewController
and it should show the issue when you change the content size category using either the Accessibility Inspector or the Environment Overrides in Xcode..The text was updated successfully, but these errors were encountered: