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) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -