I am trying to populating the data from a rss feed. This process take some time. During this delay I want to display a activity indicator and hide it when data is loaded. how can I do it? Please help
            Asked
            
        
        
            Active
            
        
            Viewed 8,805 times
        
    1 Answers
3
            - Add a 
UIActivityIndicatorsubview. - During the start of loading make it visible. You can disable all user interaction if you want and also can apply a semitransparent view to let users know that interaction is disabled.
 - Start asynchronous loading of data. You must do asynchronous loading. In synchronous loading everything, including UI update, is blocked. So indicator won't animate in that case.
 - When data loading is completed stop the connecting animation. And enable the interaction if disabled earlier.
 
And that's all.
        taskinoor
        
- 45,586
 - 12
 - 116
 - 142