I am trying to reproduce the same type of functionality as the iOS mailbox application when a user views a tableview cell, as shown in the figure:

There are 3 options: more, flag and archive. When the user clicks on any of 3, the background color changes to indicate it in the selected state. However, the icon and text do not change color.
I am trying to achieve the same effect.
I follow this tutorial to create a custom tableview cell using swipeable using gestures:
How to make a panel for viewing a table with the possibility of actions with actions - without using nuts with a scroll list
I currently have this setting:

3 UIViews, UIView UIImageView UILabel, Dirty, Edit, Delete.
3 UIViews :
let dirtyButtonView = cell.viewWithTag(7)
let editButtonView = cell.viewWithTag(8)
let deleteButtonView = cell.viewWithTag(9)
let tapRecognizer = UITapGestureRecognizer(target: self, action:
tapRecognizer.numberOfTapsRequired = 1
dirtyButtonView?.addGestureRecognizer(tapRecognizer)
editButtonView?.addGestureRecognizer(tapRecognizer)
deleteButtonView?.addGestureRecognizer(tapRecognizer)
, , Mail, .
, , .. UIView ?
- iOS Mail?