MSSlideNavigationController
MSSlideNavigationController copied to clipboard
Problem with translucent navigationbar
Just a little problem that if we use ios7 translucent navigation bar, the screenshot would have a wrong position-y.
I solved it by modify a few lines of code:
CGRect leftRect = _currentViewController.view.frame;
leftRect.origin.x = leftRect.origin.x - leftRect.size.width;
leftRect.origin.y = leftRect.origin.y + (self.navigationBar.translucent)?64:0;
in prepareForSlide method in MSSlideNavigationController. (I just hard code 64 there, we need to check status bar's translucent for 20pt)