1. 进度条和滑动条
2. 活动指示器:UIActivityIndicatorView
UIActivityIndicatorView *ac =[[UIActivityIndicatorView alloc]initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhite];
ac.tag=100;
//设置显示位置
ac.frame=CGRectMake(0, 0, 80, 40);
// ac.center=self.view.center;
ac.color=[UIColor redColor];
//开始动画效果
[ac startAnimating];
//添加动画
[UIView animateWithDuration:0.5
animations:^{sender.view.transform=CGAffineTransformScale(sender.view.transform, scale, scale);}];