Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

iphonejudy

macrumors 6502
Original poster
Sep 12, 2008
301
1
Hi,


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

How can we do ?
 

boyplunder

macrumors regular
Sep 8, 2008
165
0
UK
Imitation loading screen

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

macrumors 6502
Original poster
Sep 12, 2008
301
1
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?
 

iphonejudy

macrumors 6502
Original poster
Sep 12, 2008
301
1
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.