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

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -