user4202109
user4202109

Reputation:

How do i Create "Slide-Out Navigation Panel" with Non movable(Fixed) UINavigation Bar in iOS?

In one of my app i want to create Side left menu as many popular app provide. I have already done it my projects using PPRevealSideViewController.

But the issue is it is not supported with Non movable UINavigation bar.

It only supported with Below UI.

Supported UI

Whereas Below is My requirement.

Required UI

Requiremt is: Top UInavigationBar must be Non movable and fixed and another ViewController slide the FirstView Controller.

I tried to hack with the library But till now not able to reach to my requirement.

Does any of you have done similar thing? Or any suggestions?

Any Help will be appreciated.

Thanks & Regards,

Jenifer.

Upvotes: 1

Views: 662

Answers (1)

Vishal Sharma
Vishal Sharma

Reputation: 1733

Find Demo of similar 3rd party Library named as CCKFNavDrawer.

You need to do some settings with this as below:

  1. In CCKFNavDrawer.m class add below code once in viewDidLoad: method

    self.shawdowView.backgroundColor = [UIColor clearColor];

    and comment else where ,

  2. set ContentInset as Below:

    [self.drawerView.drawerTableView setContentInset:UIEdgeInsetsMake(0, 0, 0, 0)];

  3. Change Below stuff:

    self.outFrame = CGRectMake(-self.menuWidth,64,self.menuWidth,self.meunHeight); self.inFrame = CGRectMake (0,64,self.menuWidth,self.meunHeight);

Tell me if you need more help regarding this.

Upvotes: 1

Related Questions