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

Reload menu items #163

Closed Signoo closed 9 years ago

Signoo commented 9 years ago

Hi, I need to enable/disable a UITableViewCell of the menu if the user is logged or not. The problem is that the menu is created only once on the appDelegate and the method cellForRowAtIndexPath doesn't get called anymore so I can't edit that single UITableViewCell. Is there a method to force the reload of the UITableView?

RCaroff commented 9 years ago

just do :

[tableView reloadData];

Signoo commented 9 years ago

yeah but where?

aryaxt commented 9 years ago

https://github.com/aryaxt/iOS-Slide-Menu#notifications listen to notification reload when its about to reveal