现在我需要在从一个视图切换到另一个视图时添加 cameraIris 的快门打开效果。
我用于导航事务如下,使用http://iphonedevwiki.net/index.php/CATransition
CATransition *transition = [CATransition animation];
transition.duration = 0.8;
transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseIn];
//cameraIris Effect
[transition setType:@"cameraIris"];
transition.delegate = self;
[self.navigationController.view.layer addAnimation:transition forKey:nil];
[self.navigationController pushViewController:NextView animated:YES];
但现在它是从外侧到中间关闭我需要从中间到外侧打开这个效果/关闭
谁能帮帮我吗
提前致谢