My ActivityIndicator comes up at the right time but the user can still press the buttons on the view while processing is occurring. The reason I’m using ActivityIndicator is to prevent such usage.
How do I make sure that during the animation of ActivityIndicator, no UI interaction is possible?
Also, I would prefer that the current view is still displayed to the user(as in I wouldn’t prefer having an opaque view of UIActivityIndicator-if that’s possible-unless that’s the only option)
My ActivityIndicator comes up at the right time but the user can still press
Share
ActivityIndicator’s job is to like names says indicate that something goes on, and not to disable all interactions…You should be the one to do that…you could try with setting userInteractionEnabled property to NO.
When everything is finished set it back to YES