问题
Is there any way to make the rearView appear on top of the frontView as below image in storyboard using Objective-C. I want to make the Front View navigation Fixed & make sidebar button static.
回答1:
This kind of android drawer external and open source library called as a CCKFNavDrawer
.
CCKFNavDrawer
For using this following code.
self.rootNav = (CCKFNavDrawer *)self.navigationController;
[self.rootNav setCCKFNavDrawerDelegate:self];
Then implement delegate method
- (void)CCKFNavDrawerSelection:(NSInteger)selectionIndex
{
NSLog(@"%i", selectionIndex);
}
May this helps lot.
来源:https://stackoverflow.com/questions/31481559/swrevealviewcontroller-make-sidebar-button-static-make-the-rearview-appear-on