CATransition *transtion =[CATransitionanimation];
transtion.duration = 0.2;
transtion.startProgress = 0;
transtion.endProgress = 1;
transtion.type = @"rippleEffect";;
transtion.type=kCATransitionPush;
transtion.subtype=kCATransitionFromRight;
[self.navigationControllerpopToRootViewControllerAnimated:YES];
[[UIApplicationsharedApplication].keyWindow.layeraddAnimation:transtionforKey:@"anmotion"];
版权声明:本文为qq_33846776原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。