Sort of like Ken’s answer, but more flexible as it’ll keep track of the buttons actual actions if you change them or add more than one.
[button sendActionsForControlEvents:UIControlEventTouchUpInside];
Sort of like Ken’s answer, but more flexible as it’ll keep track of the buttons actual actions if you change them or add more than one.
[button sendActionsForControlEvents:UIControlEventTouchUpInside];