Is there a way to find size class in landscape mode when device is portrait?

32 Views Asked by At

I know I can find the current size class from traitCollection.horizontalSizeClass but I want to know what the sizeClass will be when a device is in different orientation.

Is there a way to figure it out?

0

There are 0 best solutions below