Swift membandingkan string dengan judul tombol
if myButton.currentTitle == "myString" {
// Do something
}
TheKrisinator
if myButton.currentTitle == "myString" {
// Do something
}