I am implementingJASidePanel
withUITabViewController
but I have some problem to implement.
Currently I have Category view controller with UITabView
After sliding shows category like this
but I want to slide only oneviewcontroller
not UITabViewController
.
here is my code inBaseviewcontroller
which is subclass ofJASidePanelViewController
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
self.navigationItem.rightBarButtonItem = self.leftButtonForCenterPanel;
self.navigationItem.rightBarButtonItem.tintColor = [UIColor grayColor];
}
-(void) awakeFromNib
{
[self setRightPanel:[self.storyboard instantiateViewControllerWithIdentifier:@"CategoryViewController"]];
[self setCenterPanel:[self.storyboard instantiateViewControllerWithIdentifier:@"tabVC"]];
}
Appreciate for help