Skip to content

Add image or button on the headerview #4

@u0324060

Description

@u0324060

How do I add a button or picture to headerview and move it along with it
Here is my code
tableview.addScalableCover(with: UIImage(named: "FullSizeRender.jpg")!)
let imageName = "home-icon-silhouette"
let image = UIImage(named: imageName)
let imageView = UIImageView(image: image!)
self.tableview.tableHeaderView?.addSubview(imageView)
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