How to adjust AnchorRightPeekAmount and AnchorRightRevealAmount ? #94

Closed
Mamonaku opened this Issue Mar 2, 2013 · 2 comments

Projects

None yet

3 participants

@Mamonaku
Mamonaku commented Mar 2, 2013

Hello !
first thanks to the developers for this great piece of code.

Currently when a user chooses a menu item - in the under-Left MenuController - , then

  • the top view starts sliding to the right
  • before going back to the left - with the new top view instance -

I would like to have it simply sliding back to the left....

I thought it was simply a matter of adjusting the AnchorRightPeekAmount and AnchorRightRevealAmount but I can't seem to find the right way to do it.

Any one as a piece of advice as to how to achieve this ?
thanks
-M

Use the following method

[self.slidingViewController anchorTopViewTo:ECLeftanimations:nilonComplete:^{

}];

instead of this
[self.slidingViewController anchorTopViewOffScreenTo:ECLeftanimations:nilonComplete:^{

}];

Fantastic, it's working ! thanks !

@enriquez enriquez closed this Sep 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment