I want to move a UIButton with animation, and while its moving if user touches it, I want recognized that event, but during animation UIButton doesn't sent any event.
Please solve my problem.
Have you tried AllowUserInteraction option?
[UIView animateWithDuration:5.0
delay:0.0
options:UIViewAnimationOptionAllowUserInteraction
animations:^{ // move the button }
completion:^(BOOL finished){}];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With