Skip to content

Interacting with a stackView created in Storyboard in code crashes #79

@m-levi

Description

@m-levi

I have an OAStackView that I created in my storyboard. In storyboard, I set the class to OAStackView, and set its constraints. I made an IBOutlet to this stackView in my code. In my code, when I try to edit any attributes of the stackView, like the distribution, or adding another view, the app crashes and gives me the following error:

-[UIView setDistribution:]: unrecognized selector sent to instance 0x155d6500

Not really sure what I'm doing wrong, any help would be greatly appreciated, Thanks!!

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