Skip to content

ASTraitCollection crash Inserting nil into dictionary #754

Open
@ay8s

Description

@ay8s

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 👍

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions