New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SWRevealViewController on iOS 9 not working #443
Comments
I have also tried to integrate this and no luck. Softwares: iOS 9 and Xcode 7 beta 3 Need help. |
Hi, Same issue for for me. Thanks, |
I have updated iPhone 5 to iOS 9 and then over test flight send the app ( as internal tester). It works fine |
BaranBerk, Have you compiled the project in Xcode 7 for iOS 9? Or only updated your device to iOS 9 and tried? Using my app compiled in Xcode 6.x for iOS 8.x, on an iOS 9 device, yes, everything works as intended. However, If I compile the project in Xcode 7 beta 4 for iOS 9 beta 4, then my rear view controller will not display on that same device running iOS 9. |
I havent't updated xcode it is still 6.x. I have just updated my device to iOS 9 and tried. |
In fact, in iOS 9 the property "parent" of navigation controllers created by the SW segue is nil, so in |
I was able to get it to work, but I'm not sure why. I deleted all the connections between my existing classes and view controllers; created new view controllers in the Storyboard; created new source files for the classes; copied all the code from my original class files (.h and .m); connected the new storyboard outlets to the new files. Now SWRevealViewController works in iOS 9 using Xcode 7. It was quite a bit of tedious effort to do, but it worked for me. YMMV Rycardo |
Anybody have any idea how to make this work on xCode 6 and iOS9? |
Any updates? iOS 9 is officially launching next week and iOS users tend to update pretty quickly |
I have just updated to XCode 7 today, but I'm still using iOS 8.4 on my devices. This issue popped up immediately. The first view to load works fine with SWReveal, but when I segue to my next view the self.revealviewcontroller call returns nil everytime. I even tried passing a global reference to the revealviewcontroller and none of the calls to "rightrevealToggle" work anymore (same for left). No exceptions or errors, just nothing. |
I had a similar issue. |
My front controller was a navigation based controller. I seem to have fixed the issue in Xcode 7 by changing the segues from normal push to SWRevealControllerSeguePUSH. In some cases (not sure why the difference) I also have to use a global reference to the SWRevealController as the parent can be nil. |
I managed to do a work around on Xcode 7 by initiating the SWRevealViewController by code using: |
@pontus-andersson : could you paste a sample of your workaround please? |
@Stun-nutS : I do this in the AppDelegate after my synchronization handler is completed. Hope it helps.
|
So I faced the same problem - menu would not appear when the menu button was tapped or from swiping. Turns out it was because I used the performSegueWithIdentifier method in the controller displayed from the "sw_front" segue (it was a login view, but if the person was already logged in, I took them to another view that was more useful). Calling performSegueWithIdentifier meant that the reference to the SWRevealController instance was lost in the next view - hence self.revealViewController() was always nil. So basically you can never use performSegueWithIdentifier if you want the menu to work. If you want to show a view progammatically, do this:
Note that you have to push the navigation controller for the view you want to display, otherwise you won't see the navigation on the destination view. This will give you the proper reference to the SWRevealController on the destination view. |
Actually, I'm still having pretty good luck using performSegueWithIdentifier as long as the segue class is set to SWRevealViewControllerSeguePushController in the Storyboard. |
@ksuh999 i'm having the same problem and discovered that if i delete the |
Hi,
I just tried to use this library in iOS 9:
When I drag master view it works good. When I push right button to reveal rear view it does not work.
In iPad application it doesn't work at all.
How can I fix this issues? Can you please help me?
Thanks,
Ruslan
The text was updated successfully, but these errors were encountered: