- (void)pop
{
CATransition* transition = [CATransition animation];
transition.duration = 0.5;
transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseOut];
transition.type = kCATransitionReveal;
transition.subtype = kCATransitionFromBottom;
[CurrentNaviController.view.layer addAnimation:transition forKey:kCATransition];
[CurrentNaviController popViewControllerAnimated:NO];
}
- (void)push
{
CATransition* transition = [CATransition animation];
transition.duration = 0.5;
transition.type = kCATransitionMoveIn;
transition.subtype = kCATransitionFromTop;
transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseIn];
[CurrentNaviController.view.layer addAnimation:transition forKey:kCATransition];
[CurrentNaviController pushViewController:_playingVC animated:NO];
}