//添加慢动画
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:0.2];
Loading *loading = [[Loading alloc]initWithFrame:[UIScreen mainScreen].bounds];
[self.view insertSubview:loading aboveSubview:self.view];
//提交动画
[UIView commitAnimations];