PDA

View Full Version : Loading intimation while loading screen




iphonejudy
Mar 5, 2009, 03:11 AM
Hi,


i need to display loading screen(like circle image intimate page is loading)

How can we do ?



boyplunder
Mar 5, 2009, 04:34 AM
You say imitation screen.
Don't use a pretend 'loading' screen unless it actually has something to load. The Apple guidelines don't like you slowing things down with initial screens unless it is actually doing something.

Loading game data or extensive indexes should show an activity for the user, but don't pretend it's busy when it's not.

iphonejudy
Mar 7, 2009, 06:19 AM
Actualy i want to display rss fields when a button click.

So when the button is clicked ,it takes some time to display .So at that time i need to show the user,the page is loading.

So i need to display loading intimation ,like rotating circle in screen or some else.

Is it possibele to do these things?

dejo
Mar 7, 2009, 12:27 PM
Is it possibele to do these things?
Yes. Check out UIActivityIndicatorView.

iphonejudy
Mar 9, 2009, 02:24 AM
i used the below code for display loading screen.


activityIndicator = [[UIActivityIndicatorView alloc]initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
activityIndicator.frame=CGRectMake(130, 40, 50, 50);
activityIndicator.tag = 1;
[self.view.window addSubview:activityIndicator];
[activityIndicator startAnimating];

But its mnot working in the correct time.

Is there any method available for tableview start load and end load.