andreamazz / SlideOutNavigation

SlideOut Navigation Controller for iOS.
MIT License
210 stars 49 forks source link

Fix issue where default menu icon was not found #88

Closed jlwebster closed 8 years ago

jlwebster commented 8 years ago

Under Xcode 7 and iOS 9, in AMSlideOutGlobals.m: + (NSDictionary*)defaultOptions, [UIImage imageNamed:@"iconSlide.png"] was returning nil, so I changed this code to load the iconSlide.png image from a specific bundle, which seems to have fixed the issue for me.

The Sample project is also no currently building under Xcode 7. Any plans to update the project to the latest?

andreamazz commented 8 years ago

Hi @jlwebster Yeah, this is spot on, if the library is imported as a dynamic framework the main bundle is out of scope. Thanks for the PR :+1:

jlwebster commented 8 years ago

Awesome! Thanks for the quick merge @andreamazz.