self.view.backgroundColor = [UIColor orangeColor];
//加载旋转的菊花效果
//无需设置frame[UIActivityIndicatorView实现要实现的风火轮效果]
UIActivityIndicatorView *indicatorView = [[UIActivityIndicatorView alloc]initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
indicatorView.center = self.view.center;
[self.view addSubview:indicatorView];
//将风火轮动起来
[indicatorView startAnimating];