영삼이의 IT정보2011. 11. 9. 01:31

UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@"잠시만 기다려주세요.\n로딩중..."

                               message:nil delegate:self cancelButtonTitle:nil otherButtonTitles: nil] autorelease];

[alert show];

UIActivityIndicatorView *indicator = [[UIActivityIndicatorView alloc]

                                     initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];

indicator.center = CGPointMake(alert.bounds.size.width / 2, alert.bounds.size.height - 50);

[indicator startAnimating];

[alert addSubview:indicator];

[indicator release];

로딩중.png

Posted by 다오나무