Loading intimation while loading screen

Discussion in 'iPhone/iPad Programming' started by iphonejudy, Mar 5, 2009.

  1. macrumors 6502

    iphonejudy

    Joined:
    Sep 12, 2008
    #1
    Hi,


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

    How can we do ?
     
  2. macrumors regular

    boyplunder

    Joined:
    Sep 8, 2008
    Location:
    UK
    #2
    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.
     
  3. thread starter macrumors 6502

    iphonejudy

    Joined:
    Sep 12, 2008
    #3
    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?
     
  4. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #4
    Yes. Check out UIActivityIndicatorView.
     
  5. thread starter macrumors 6502

    iphonejudy

    Joined:
    Sep 12, 2008
    #5
    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.
     

Share This Page