John-Lluch / SWRevealViewController

A UIViewController subclass for presenting side view controllers inspired on the FaceBook and Wunderlist apps, done right !
Other
4.52k stars 987 forks source link

Custom button not working in Target 9.0? #742

Open mangireddy58 opened 7 years ago

mangireddy58 commented 7 years ago

I am using SWRevealConroller for side menu. it is working awesome on iOS 10. but unfortunately I changed build to 9.0. it getting crashed.on this line

menuBtnPressed.addTarget(self.revealViewController(), action: #selector(SWRevealViewController.revealToggle(_:)), for: .touchUpInside)

Here is the menuBtnPressed my custom button.

iDevelopper commented 7 years ago

Where is your crash exactly? I did a test just now in one of my samples and all is right.

SWHomePushSwift.zip

mangireddy58 commented 7 years ago

its working fine. my mistake.sorry