Closed AndrexOfficial closed 11 years ago
This is your problem: -[RootViewController showMenu]: unrecognized selector sent to instance 0xa42b600
How can I fix it?
The problem is in your code and it's not an issue of RESideMenu. You need to check if you have showMenu method in your root view controller.
Hi, I have a tableview called RootViewController and it loads my rss feeds. The problem comes up when I tap the button to go back to the menu, because the app crash immediately.
Here is my console log:
2013-07-20 15:50:13.549 RESideMenuExample[4349:907] Finished Parsing 2013-07-20 15:50:15.255 RESideMenuExample[4349:907] -[RootViewController showMenu]: unrecognized selector sent to instance 0xa42b600 2013-07-20 15:50:15.256 RESideMenuExample[4349:907] *\ Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[RootViewController showMenu]: unrecognized selector sent to instance 0xa42b600'
And here is my RootViewController.h file:
import <UIKit/UIKit.h>
import "MWFeedParser.h"
import "Config.h"
import "PullToRefreshTableViewController.h"
import "QuartzCore/CALayer.h"
import "HJObjManager.h"
import "HJManagedImageV.h"
import "LoadingView.h"
import "ShareTools.h"
import "LocalData.h"
import "RootViewController1.h"
import "RESideMenu.h"
@interface RootViewController : PullToRefreshTableViewController <UIScrollViewDelegate,UITableViewDataSource, UITableViewDelegate,MWFeedParserDelegate,UIActionSheetDelegate> {
}
// Properties @property (nonatomic, retain) NSArray itemsToDisplay; @property (nonatomic, retain) LoadingView loadingView;
@end
How can I fix this problem? I think that the control can't handle Tableviews