AMSlideMenu2 icon indicating copy to clipboard operation
AMSlideMenu2 copied to clipboard

Slide Layer Showing Before Menu Disappears

Open at90vader opened this issue 8 years ago • 6 comments

hi! I need help with this, when I perform a segue to view controllers which don't do a request to my server, the Menu works great, but a segue to a more complex view controller, the Menu disappears before the requested view covers all the screen.

Thank you!

eyyxsn

at90vader avatar Sep 18 '15 20:09 at90vader

Please answer me :sob: this issue only happens in 1.5.4 version, but in older versions the statusBar doesn't show correctly in landscape.

at90vader avatar Oct 31 '15 00:10 at90vader

I just realized that this code from AMSlideMenuMAinViewController.h: dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(self.closeAnimationDuration * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ self.leftMenu.view.hidden = YES; }); isn't working as expected, I just commented it and all is working fine.

at90vader avatar Oct 31 '15 03:10 at90vader

Hmm. very strange. Ok, thank you for suggestion.

arturdev avatar Oct 31 '15 05:10 arturdev

Same problems and found the same place as @at90vader . Without comment "self.leftMenu.view.hidden = YES;", it only working fine on simulators. Why do we need to hide left menu at that time @arturdev ?

trungnguyen1791 avatar Nov 18 '15 04:11 trungnguyen1791

@trungnguyen1791 because of this: #43

arturdev avatar Nov 18 '15 07:11 arturdev

@at90vader thanks for finding this solution. @arturdev is there any other workaround than modifying the source files?

kevenbauke avatar Feb 15 '16 14:02 kevenbauke