ios - Black effect when screen popping controller with custom animation? -


i popping view controller navigation controller.when popping controller want give animation pushing view controller.for purpose using below code

    catransition* transition = [catransition animation];     transition.duration = 0.3f;     transition.type = kcatransitionpush;     transition.subtype = kcatransitionfromright;     [self.navigationcontroller.view.layer addanimation:transition                                                 forkey:kcatransition];      [self.appdelegate setupforlvc];     [self.navigationcontroller popviewcontrolleranimated:no]; 

when animation starts black effect here.please tell me issue code ?

add code in didfinishlaunchingwithoptions

self.window.backgroundcolor = [uicolor whitecolor]; self.window.tintcolor = [uicolor whitecolor];         **or** 2)set animation duration 0 

Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -