rnystrom / RNSwipeViewController

Swipe in view controllers from off-screen similar to Check the Weather.
MIT License
293 stars 50 forks source link

Fixed bug where dismissing a presentedViewController would force RNSwipeViewController to unexpectedly revert to its centerViewController #14

Open MaxwellPayne opened 9 years ago

MaxwellPayne commented 9 years ago

Ran into an issue where, after running presentViewController and subsequently dismissViewControlller from RNSwipeViewController's rightViewController, the RNSwipeViewController would force itself back to displaying centerViewController instead of sticking with the rightViewController. RNSwipeViewController will now suppress its viewWillAppear method if a presentedViewController is in the process of being dismissed.