Closed ghost closed 8 years ago
Ok figured it out. I guess these two properties are REQUIRED to make it work:
drawerViewController.animator = JVFloatingDrawerSpringAnimator()
drawerViewController.backgroundImage = UIImage("Menu-Background")
Have a weird issue when trying to toggle the left (or right) drawer where nothing happens except that the center view controller suddenly has barely noticeable rounded corners.
Here is my setup:
App Delegate
Root View (current Center):
Yes, the drawerViewController is properly called using ' parentViewController?.parentViewController' (I made sure by just setting the new center to the menuViewController and it works without a problem). Yes, I tried just called 'openDrawer...' instead of toggle.
Any suggestions? Also, no I cannot use the Swift version of this library (KGFloatingDrawer) as it requires 'use_frameworks!' in the pod file and right now that breaks Travis CI automated builds.