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

re-creates page #200

Closed codaman closed 8 years ago

codaman commented 8 years ago

when open a menu item on left page, it creates this view controller again. Again it called viewDidload and kills last object. Don't need to re-create page before it created

codaman commented 8 years ago

facebook and another apps that have slide page like this, not re-create pages

aryaxt commented 8 years ago

try using avoidSwitchingToSameClassViewController this feature doesn't need to be implemented on the menu, you could simply have a property and push an existing vc instead of creating a new vc

SCLDev commented 8 years ago

I used this and it worked like a charm.