Delphi + IOS: how to import a Const defined in a third party library?
In a third party library I have a definition
FOUNDATION_EXPORT NSString * __nonnull const kFIRInstanceIDTokenRefreshNotification;
and I need to import it into delphi so that I can access it under ios at runtime. how to do it? I look at the delphi source code, they do it like this:
FrameworkMod := LoadLibrary(PWideChar(FwkPath)); result := GetProcAddress(FrameworkMod, PWideChar(ConstStr));
but how is there a third party library how to do it LoadLibrary(PWideChar(FwkPath));
? which path to use in FwkPath?
+3
user7913801
source
to share
No one has answered this question yet
See similar questions:
or similar: