I have a problem that I cannot resolve at the moment namely I’m trying to set a different number of columns in the collection view based on the iPad position (collection should update on device rotation)
Currently, (depending on how the device is positioned on start) on the first rotation items width is not calculated properly:
It’d be great if someone could help and point out where is an issue.
Code for this project is on my GitHub: https://github.com/ceboolion/compositionalLayout
Thanks for your help.