CATransition *transtion =[CATransition animation];
transtion.duration = 0.2;
transtion.startProgress = 0;
transtion.endProgress = 1;
transtion.type = @"rippleEffect";;
transtion.type = kCATransitionPush;
transtion.subtype = kCATransitionFromRight;
[self.navigationController popToRootViewControllerAnimated:YES];
[[UIApplication sharedApplication].keyWindow.layer addAnimation:transtion forKey:@"anmotion"];