evnaz / ENSwiftSideMenu

A simple side menu for iOS written in Swift.
MIT License
1.82k stars 281 forks source link

iOS 7 Compatibility #4

Closed flowbe closed 10 years ago

flowbe commented 10 years ago

Is this fonctionnality compatible to iOS 7 ?

If not, any idea to do it ?

Thank you very much !

kn-neeraj commented 10 years ago

It will be compatible just remove the blur code which uses class introduced in iOS8. Thats it. // // Add blur view // var visualEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .Light)) as UIVisualEffectView // visualEffectView.frame = sideMenuContainerView.bounds // sideMenuContainerView.addSubview(visualEffectView)

flowbe commented 10 years ago

Thanks, I've seen that you've updated your repo thanks to a pull request for iOS 7, is it now compatible without doing anything ?

kn-neeraj commented 10 years ago

Yes it will be.

On Fri, Sep 19, 2014 at 3:02 PM, TheFlow95 notifications@github.com wrote:

Thanks, I've seen that you've updated your repo thanks to a pull request for iOS 7, is it now compatible without doing anything ?

— Reply to this email directly or view it on GitHub https://github.com/evnaz/ENSwiftSideMenu/issues/4#issuecomment-56156221.

flowbe commented 10 years ago

Thanks for your work !

kn-neeraj commented 10 years ago

Although if you wanna change the background color of the menu in iOS 7 since blur is not there you have to change in MenuController.Although more changes are coming up which will support it.