I have a button and with a control Event like :
[_flashBackButton addTarget:self
action:@selector(flashBackButtonCallback:)
forControlEvents:UIControlEventTouchUpInside];
if I use UIControlEventTouchUpInside
there is a very small delay (1sec) before my selector is called (a delay after that I stopped touch the screen).
I have tried with
[_flashBackButton addTarget:self
action:@selector(flashBackButtonCallback:)
forControlEvents:UIControlEventTouchDown];
my selector is called immediately.
=> the problem is that this button is use to display another view controller, and this long delay is making our app feel unresponsive. When I compare to other well known apps such as facebook, twitter etc, their view controllers are poping almost right after the button is pressed.
Does someone who knows a way to fix it? I don't want to use UIControlEventTouchDown
.
thanks in advance for your help
to see a video : https://www.dropbox.com/s/kl1sr5jnpzo1i7s/IMG_2865.MOV