Skip to content

-[UIScrollView floatingHeaderView]: unrecognized selector sent to instance #12

@alekop

Description

@alekop

This is probably a dumb noob question, but I'm getting an unrecognized selector when calling from Swift.

myScrollView?.floatingHeader = headerView.

Also tried explicitly getting the selector: myScrollView.perform(#selector(setter: UIScrollView.floatingHeaderView), with: headerView). Same result. What am I doing wrong?

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