ios - How to trigger UIButton action programmatically -


i have several buttons in 1 class , actions separate. created instance of class in class. , have uibutton array in 2nd class. want call each buttons action programmatically. there way in ios.

uibutton has method invoke targets/selectors linked control event:

[button sendactionsforcontrolevents:uicontroleventtouchupinside];


Comments