We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 277b0b5 + d9f7c39 commit 8ae3e9eCopy full SHA for 8ae3e9e
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