StretchyHeaderView icon indicating copy to clipboard operation
StretchyHeaderView copied to clipboard

Add image or button on the headerview

Open u0324060 opened this issue 8 years ago • 1 comments

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!

u0324060 avatar Jul 06 '17 07:07 u0324060

Use headerView is right, and you also need to modify the scaleCoverView's code.

sunlubo avatar Jul 09 '17 01:07 sunlubo