At the moment, I'm animating a UIWebView
from the bottom of the screen to the top. As the UIWebView
animates upwards it becomes untouchable for 50-80% of the duration time.
If I tap the UIWebviews
ending destination, or model layer, the taps are registered and the Webview
responds appropriately.
Why is this? And what solutions are there for tapping moving/animating UIWebViews
?
To further exemplify this, I have created a side project that shows a UIWebView
animating upwards. The purple squares represent touch events on the presentation layer, while the blue squares represent touch events outside of the presentation layer.
https://github.com/AdamBCo/UIWebView-Animation-Issues
As seen in the example, UIViewAnimationOptionAllowUserInteraction
is set in the UViewAnimation
block.