标签:
self.view.backgroundColor = [UIColor orangeColor];
//加载旋转的菊花效果
//无需设置frame[UIActivityIndicatorView实现要实现的风火轮效果]
UIActivityIndicatorView *indicatorView = [[UIActivityIndicatorView alloc]initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
indicatorView.center = self.view.center;
[self.view addSubview:indicatorView];
//将风火轮动起来
[indicatorView startAnimating];
标签:
原文地址:http://www.cnblogs.com/zhoulina/p/5532619.html