When this happens to me, this is usually because I screwed the UIView frame. I see all the contents as expected because my UIView not clipped to the borders, but I cannot interact with anything because my branches are outside of the UIView .
My simple test is to change the background color of the UIView and see if it covers the area that I expect, or if I messed up the size / place somehow.
I used to face this problem struggling for hours, but I did it many times, now itβs 5 minutes to fix βOh, this again.β
Edit:
Then I will look at your show code. Your calling code is missing here, but if I assume that you just use your show code and your view is only shown on the screen for 3 seconds, then this is the problem.
As Justin mentioned (comment above) and Apple docs
During the animation, user interactions are temporarily disabled for all views participating in the animation, regardless of the value in this property. You can disable this behavior by specifying the UIViewAnimationOptionAllowUserInteraction Option when setting up the animation.
Since all the time your presentation on the screen is part of the animation block, all interactions will be turned off as long as they are visible. I never tested the delay bit and whether the animation was turned off during this part, but it would not be surprising that the animation was turned off during the delay. The second animation is still inside the main animation block, so I assume that the animation will be locked until both are complete.
source share