My custom button contains a value that’s updated on swipe. But when I tap on it, instead of keeping that value, it sets back to the default value that was set either in Interface Builder, or through [button00 setText:@"default value" forState:UIControlStateNormal].
Any idea how I could keep the latest updated value?
Don’t modify the label text; call
setText:forState:on theUIButtonfor any update.