I have created one dynamic button in my application and I call the following method:
[btnactions addTarget:self
action:@selector(deleteview:)
forControlEvents:UIControlEventTouchDown];</b>
This deleteview method is used for delete the specific application view whenever I click the button.
Now, I want another method to call dynamically on button event
UIControlEventTouchDownRepeat
So how can I call two different events using different control events?
You can call addTarget again with UIControlEventTouchDownRepeat
From the docs (UIButton inherits from UIControl):