while restoring some data i am displaying a activity indicator..but i want the background image to become dull or dim a bit so that the focus is on activity indicator..i have seen that in some applications but cant figure out how to achieve that??
while restoring some data i am displaying a activity indicator..but i want the background
Share
Instead of adding just activity indicator, add black or white subview (make its size the same as background size), and set your subview’s alpha to 0.5 (you can adjust it any way you like). Then put activity indicator on this black or white subview. Hope this is the effect you are looking for. Here’s some sample code: