We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a64ad46 + c4aa17a commit d9f7c39Copy full SHA for d9f7c39
1 file changed
dConnectSDK/dConnectSDKForIOS/DConnectSDK/Classes/DConnectConst.h
@@ -11,7 +11,7 @@
11
#define DC_SYNC_END }
12
13
#define DCBundle() \
14
-[NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:@"DConnectSDK_resources" ofType:@"bundle"]]
+[NSBundle bundleWithPath:[[NSBundle bundleForClass:NSClassFromString(@"DConnectManager")] pathForResource:@"DConnectSDK_resources" ofType:@"bundle"]]
15
16
#define DCLocalizedString(bundle, key) \
17
[bundle localizedStringForKey:key value:@"" table:nil]
0 commit comments