MMDrawerController
MMDrawerController copied to clipboard
Adding status bar animation
Adding status bar animation. This will close #167.
"Fails" when changing center vc with full close animation:
[self.mm_drawerController setCenterViewController:nav withFullCloseAnimation:YES completion:nil];
Thanks hbmtw. It should be ok now.
Perfect. Thanks.
If you want, it could also be fixed for the bouncing animation also:
[self.mm_drawerController bouncePreviewForDrawerSide:MMDrawerSideLeft completion:nil];
This used to work perfectly, but with xCode 7, if you're using your mouse and you move the side menu between open and close, the status bar won't stay aligned with the navigation bar. @Ded77 @hbmtw @mkruus Any suggestions on how I can fix this?
Here's a screen recording of this in action. This didn't used to happen with the demo, which leads me to assume it's something with xCode 7 or me upgrading to El Capitan
https://youtu.be/hX4namxN4G0
It turns out it's just the new iOS simulator being laggy with the status bar. it works fine on the phone
@thomasbaldwin Hello, great if it is just a simulator glitch. But remember, don't use this code in app that will be submitted on the AppStore. We use private API in this pull request.
Hey @Ded77, any idea how GroupMe is doing it if they're not using the private API function?
@thomasbaldwin hummm, I think they are using private API ! As far as I know, the only safe way to do this is to make a screenshot of the screen and animate this screenshot eg. But that's not what they do (the clock is always up to date...).
For me, the proper way to do this is to hide the status bar with an animation cf., like in the Slack app, but maybe that's not really what you want.