I have implemented a custom activity indicator view for my iOS apps, which works smooth. The requirement is to set the alpha of superview to 50% (or make it translucent) while the custom activity indicator is animating, and set it to normal when custom activity indicator stops. I am using following class method to add custom activity indicator to view.I have implemented a custom activity indicator