Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to not fully hide menu using ECSlidingViewController?

Am using ECSlidingViewController class to show sliding menu=) i want show always a part of menu. Question is how to not fully hide menu?

like image 223
Alex Kraev Avatar asked Feb 20 '26 12:02

Alex Kraev


1 Answers

If you want to make full left screen use this :

[self.slidingViewController setAnchorRightRevealAmount:320.0f];
 self.slidingViewController.underLeftWidthLayout = ECFullWidth;

for right screen :

[self.slidingViewController setAnchorLeftPeekAmount:0.0f];
 self.slidingViewController.underRightWidthLayout = ECVariableRevealWidth;
like image 157
SukruK Avatar answered Feb 23 '26 04:02

SukruK