tableview的一些知识
2018-03-13 本文已影响0人
如水的云如云的水
1,设置一个和cell默认位置一致的箭头
//此处设置的右箭头位置和默认的cell的箭头位置一直
let imageViewbs = UIImageView.init(frame: CGRect(x: width - 13.5 - 10, y: userImageView.frame.midY, width: 13.5, height: 13.5))
imageViewbs.image = UIImage.init(named:"灰色箭头")
bigHeadView.addSubview(imageViewbs)
![](https://img.haomeiwen.com/i5735462/e07d1781a5e2c934.png)
![](https://img.haomeiwen.com/i5735462/0c1282cd63267f6d.png)
![](https://img.haomeiwen.com/i5735462/c44f0aac357170cc.png)
![](https://img.haomeiwen.com/i5735462/feaf4319d2a22b19.png)