objective c - presentViewController flickers in IOS 8 -


in ios 7, custom animation transitioning new view controller, completion of animation being:

[self.animatedview removefromsuperview]; //superview == self.view, in case [self presentviewcontroller:newcontroller animated:no completion:nil]; 

this works fine in <= ios 7. while animating original, dismissviewcontroller:. however, in ios 8, both present , dismiss display 1 frame black screen between end of animation , appearance of new view. there way around this? happening on main thread.

really got suggest should adopt uiviewcontrolleranimatedtransitioning protocol ios 7 , above. it's easy work with, , incredibly optimized doing transition type , length. means, continue using own animations ios 6 , below, animations improve leaps , bounds if adopt new protocol ios 7 , above.

check out docs on uiviewcontrolleranimatedtransitioning


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -