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 think it might be possible because of the improper initialization of ASPrimitiveCollectionTraits. I looked through the Texture sources, but haven't found any case of using it without initializing with ASPrimitiveTraitCollectionMakeDefault or ASPrimitiveTraitCollectionFromUITraitCollection().
My version is that this structure might be initialized by the application without using either of those functions and then be given to Texture (it's a struct after all, so zero-initialization is the default).
I tried to fix the crash in #757. @ay8s, can you test if it works for you?
Believe we're seeing a crash with the latest changes to ASTraitCollection.m in #625. a3136b0
I'm not sure when traits.preferredContentSizeCategory would be nil.
[props addObject:@{ @"preferredContentSizeCategory": (UIContentSizeCategory)traits.preferredContentSizeCategory }];
Edit: Looks to be on rotation of the device.
Just a heads up @ypogribnyi 👍
The text was updated successfully, but these errors were encountered: