There was an error while loading. Please reload this page.
2 parents 2ddf700 + 3d1d7ae commit 481b83cCopy full SHA for 481b83c
SlideMenu/Source/SlideNavigationController.m
@@ -445,8 +445,9 @@ - (UIBarButtonItem *)barButtonItemForMenu:(Menu)menu
445
}
446
else
447
{
448
-UIImage *image = [UIImage imageNamed:MENU_IMAGE];
449
- return [[UIBarButtonItem alloc] initWithImage:image style:UIBarButtonItemStylePlain target:self action:selector];
+NSBundle* bundle = [NSBundle bundleForClass:[SlideNavigationController class]];
+UIImage *image = [UIImage imageNamed:MENU_IMAGE inBundle:bundle compatibleWithTraitCollection:nil];
450
+return [[UIBarButtonItem alloc] initWithImage:image style:UIBarButtonItemStylePlain target:self action:selector];
451
452
453
0 commit comments