objective c - iOS - UIButton requires two taps with UIControlEventTouchUpInside -
for reason uibutton requires 2 taps trigger , don't understand why, not desired functionality , of other buttons work expected
here addtarget
code:
[self.mybutton addtarget:self action:@selector(publishbuttontapped) forcontrolevents:uicontroleventtouchupinside];
my function publishbuttontapped
not triggered until second tap in quick succession.
there must else overlooking, insight appreciated
my button , layout created programmatically, there no xib or storyboard.
Comments
Post a Comment