Pulley icon indicating copy to clipboard operation
Pulley copied to clipboard

UITableView in drawer not updating labels for Dynamic Type changes

Open seboslaw opened this issue 5 years ago • 0 comments

Hey guys,

I'm having problems with dynamic type in combination with Pulley. I've put a simple (auto-layouted) UITableView into my drawer VC. When I change the font size in Settings -> Accessibility -> Display & Text Size -> Larger Text before starting the app everything works fine. However, if the app is already running and I change the font size it doesn't update the UILabels in my table view accordingly. It seems like UIContentSizeCategory.didChangeNotifications are not passed to the drawer VC. I've already tried observing this notification in the UITableViewCell and calling view.layoutIfNeeded(), but that doesn't solve the issue. Do you have any idea how to fix this?

seboslaw avatar Nov 10 '19 21:11 seboslaw