How to restrict selection region of cell
Normally, tapping anywhere in a UITableViewCell or UICollectionViewCell will trigger didSelectRowAt/didSelectItemAt: indexPath delegate functions.
What if we want to constrain that tapping to just within a few subviews? Like these areas below marked in red color. How can we do it?
