ios - unwind inside containerViewController has no animation -


i have containerviewcontroller navigationviewcontroller inside. in viewcontroller_1 in navigation, call viewcontroller_2 segue:

[self performseguewithidentifier:@"vipcolorsegue" sender:nil]; 

viewcontroller_2 pushed animation. when want go viewcontroller_1, no animation appears, , viewcontroller_2 disappears no transition.

i tried:

[self.navigationcontroller poptorootviewcontrolleranimated:yes]; 

and unwinding controller.

non of them shows animation.

is there can do?

adding transition definition solved me:

catransition *transition = [catransition animation]; transition.duration = 0.4; transition.timingfunction = [camediatimingfunction functionwithname:kcamediatimingfunctiondefault]; transition.type = kcatransitionpush; transition.subtype = kcatransitionfromleft; [self.navigationcontroller.view.layer addanimation:transition forkey:nil]; [self.navigationcontroller popviewcontrolleranimated:yes]; 

Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -