apptekstudios / ASCollectionView

A SwiftUI collection view with support for custom layouts, preloading, and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update layout when sizeCategory changes

markbryanramirez opened this issue · comments

How do we force the collectionview to update layout once the user changes the text size?

Previously this has been working by default... which iOS version are you testing on? I'll look into it :)

I've been testing on iOS 13.3.1 on iPhone. I used a custom ASCollectionLayout

in my layout

My workaround to force update the layout is add this .id(self.sizeCategory). I know its not pretty. Hope anyone can provide a cleaner approach. Thank you.