diff --git a/LCActionSheet/LCActionSheet.m b/LCActionSheet/LCActionSheet.m index 96d56cc..8b0766c 100644 --- a/LCActionSheet/LCActionSheet.m +++ b/LCActionSheet/LCActionSheet.m @@ -177,7 +177,7 @@ - (void)setupMainView { [titleBgView addSubview:label]; } - NSString *bundlePath = [[NSBundle mainBundle] pathForResource:@"LCActionSheet" ofType:@"bundle"]; + NSString *bundlePath = [[NSBundle bundleForClass:self.class] pathForResource:@"LCActionSheet" ofType:@"bundle"]; if (self.buttonTitles.count) {