Assume that there’s a UIView as a container, which contain an UIActivityIndicatorView and other subviews.When the UIActivityIndicatorView is animating, it set the userInteractionEnabled property to NO, which makes all it’s sibling views stop receiving input events.
I checkout the doc of Apple, it suggest we can use the UIViewAnimationOptionAllowUserInteraction constant to resolve this problem.But I dont know where or which property to set this constant.Has anyone encountered this problem and solve it?
UIViewAnimationOptionAllowUserInteractionis one of options for animating views with blocks. Allow the user to interact with views while they are being animated.But I don’t know how it may help you for using UIActivityIndicatorView. Simple example: