aryaxt / iOS-Slide-Menu

iOS Slide Menu with ability to add both left and right menu, and built in gesture recognizer. Similar to Path and Facebook
Other
1.53k stars 359 forks source link

ViewDidAppear animated=NO when opening viewController from the slide menu #158

Open Signoo opened 9 years ago

Signoo commented 9 years ago

On one of my viewController I have a method that gets called on the ViewDidAppear method, If I access the viewController from a button everything works fine but If I access the viewController from the slide menu the method viewDidAppear has animated=NO and it doesn't work. Is there a way to fix this?

aryaxt commented 9 years ago

I think viewDidAppear doesn't get called on the side menus because they are not added to a navigation controller. Try using notifications instead https://github.com/aryaxt/iOS-Slide-Menu#notifications