SWRevealViewController make sidebar button static & make the rearView appear on top of the frontView

落花浮王杯 提交于 2020-01-10 06:05:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!