Stop SWRevealViewController animation when select

584 views Asked by At

i am trying to disable SWRevealViewController animation when selecting the row, this is a sliding-menu library to use with swift or objective-c, what i am saying is when i select the row from the menu it expands like 40 px to the right then it close and goes away, i want to edit it so when i click on the row it close without expanding to the right.

I hope i explained well and this is the library i'm working with: https://github.com/John-Lluch/SWRevealViewController

1

There are 1 answers

1
Grzegorz Krukowski On

Comment line number 1378 in SVRevealViewController.m:

_enqueue( [theSelf _setFrontViewPosition:preReplacementPosition withDuration:firstDuration] );