Change the color of text leftSideButton and rightRightButton
Prit-Singh opened this issue · 2 comments
Prit-Singh commented
Hi,
I need to change the color of text of leftButton and rightButton of cell and also change the font size of text of buttons,
Please let me know how to change the color of text. Its very urgent.
Thanks in advance.
yukitoto commented
let button = MGSwipeButton()
button.titleLabel # you can access to title label
voxiadmin commented
I know the issue is closed but this worked better for me, thanks:
let button = MGSwipeButton(title:"Title", backgroundColor: myUIColor)
button.setTitleColor(myTitleUIColor, for: UIControl.State.normal)