我正在使用 ECSlidingViewController 类来显示滑动菜单=) 我希望始终显示菜单的一部分。问题是如何不完全隐藏菜单?
最佳答案
如果你想全左屏使用这个:
[self.slidingViewController setAnchorRightRevealAmount:320.0f];
self.slidingViewController.underLeftWidthLayout = ECFullWidth;
对于右屏:
[self.slidingViewController setAnchorLeftPeekAmount:0.0f];
self.slidingViewController.underRightWidthLayout = ECVariableRevealWidth;
关于ios - 如何使用 ECSlidingViewController 不完全隐藏菜单?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19072074/