Closed agentelu closed 4 years ago
Use the delegate method
func cardHighlightDidTapButton(card: CardHighlight, button: UIButton)
For example
func cardHighlightDidTapButton(card: CardHighlight, button: UIButton) {
if card == myCard {
// add your function here
}
}
Vanni
Thanks, its works
👍
Can anyone tell me how to do this in detail? I am trying to use the button to do something else rather than opening detailVC.
HI, there is any way to add a function to the button in Card ?