Skip to content

App crash  #3

@satz4ios

Description

@satz4ios

When i make this example to support all orientation, while moving from portratoit to landscappre or vice versa the app crashes with below error,
SCSectionBackground[34266:300939] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'layout attributes for supplementary item at index path (<NSIndexPath: 0x6000028aa600> {length = 2, path = 0 - 0}) changed from <SCSectionBackground.SCSBCollectionViewLayoutAttributes: 0x7ff023717780> index path: (<NSIndexPath: 0x6000028a9220> {length = 2, path = 0 - 0}); element kind: (sectionBackground); frame = (0 0; 667 116); zIndex = -1; to <SCSectionBackground.SCSBCollectionViewLayoutAttributes: 0x7ff023700110> index path: (<NSIndexPath: 0x6000028aa600> {length = 2, path = 0 - 0}); element kind: (sectionBackground); frame = (0 0; 375 116); zIndex = -1; without invalidating the layout'

Could you help to resolve this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions