zoonooz / ZFDragableModalTransition

Custom animation transition for present modal view controller
MIT License
2.47k stars 308 forks source link

Status bar missing in ios 8 #21

Closed eric-samurai closed 9 years ago

eric-samurai commented 9 years ago

In my case, a tab bar and navigation bar based app. When dismissing a viewcontroller with the ZFDragableModalTransition, the status bar is removed from the toViewController which is the TabBarController during the transition, and will show when the transition is complete. so you can see the navigationbar grows from 44pt to 64pt immediately.

resvevo commented 9 years ago

What i did is just added:

[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:NO];

below

[self.modalController dismissViewControllerAnimated:YES completion:nil];

in "ZFModalTransitionAnimator.m" to make sure the status bar returns after the transition is complete. Not sure if it fixes all the time, but it works for me.

zoonooz commented 9 years ago

@rylinus @dsmo What is the view controller structure you have.

DanielyBotelho commented 9 years ago

I'm having the same problem, any ideas?

zoonooz commented 9 years ago

Hi @DanielyBotelho

Can you tell me what's vc structure you have. I tried these in demo project

but still cant reproduce. :(

burning-git commented 9 years ago

how to use custom view's height?

tentenlee100 commented 9 years ago

now this issue also be happen vc structure is tabar -> navigation -> mainvc --- show --- tabbar -> navigation -> secvc