G
https://developer.apple.com/documentation/uikit/uitableview/1615001-isediting

Size: a a a
G
Д
G
G
Д
G
G
G
G
C
HB
likeBtn = UIButton()
likeBtn.setTitle("Like", for: .normal)
likeBtn.setTitleColor(UIColor.rgb(red: 143, green: 150, blue: 162), for: .normal)
likeBtn.setImage(UIImage(named: "like"), for: .normal)
likeBtn.imageView?.frame = CGRect(x: 0, y: 0, width: 20, height: 20)
likeBtn.imageView?.contentMode = .scaleAspectFit
likeBtn.imageView?.backgroundColor = .red
ВР