问题
This question already has an answer here:
- UIView animations canceling any touch input? 2 answers
On Objective-C when animation starts on the UIView, no touch interaction is accepted. how can we handle this?
回答1:
Use UIViewAnimationOptionAllowUserInteraction as an option parameter in method animateWithDuration:delay:options:animations:completion:
UIViewAnimationOptions
来源:https://stackoverflow.com/questions/17810576/uiview-animation-prevents-touch-events