_launchAnimation =[LOTAnimationView animationNamed:@"loading"];//实例化对象
_launchAnimation.cacheEnable =NO;
_launchAnimation.frame =CGRectMake(20, 200, 50, 50);//动画范围
_launchAnimation.contentMode =UIViewContentModeScaleToFill;
_launchAnimation.animationSpeed =0.5;//动画时间
_launchAnimation.loopAnimation =YES;//是否循环动画
[_launchAnimation play];//开始动画
[self.view addSubview:_launchAnimation];