Skip to content

Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer bounds contains NaN:  #212

@jimmy510s

Description

@jimmy510s

Hi,

I am using your library and i have encountered i strange behaviour. When i push a view controller that contains a swipe swipeView as soon as try to populate my list of views inside the swipeView in get an exception in method setFrameForView (line 522). center.x has NaN value. It only works if i populate my list at the viewDidAppear. Not on viewDidLoad or any other method before viewDidAppear.

The error is not happening when i present modally the viewController.

Thank you
Jimmy

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