//创建
UIActivityIndicatorView * indicatorView = [[UIActivityIndicatorView alloc]init];
indicatorView.frame = CGRectMake(200, 100, 100, 100);
//设置样式:
indicatorView.activityIndicatorViewStyle = UIActivityIndicatorViewStyleWhiteLarge;
//开始动画
[indicatorView startAnimating];
网友评论