iOS SDK Version
FBAudienceNetworkAds
Objective-C
@interfaceFBAudienceNetworkAds:NSObject/** Initialize Audience Network SDK at any given point of time. It will be called automatically with default settigs when you first touch AN related code otherwise. @param settings The settings to initialize with @param completionHandler The block which will be called when initialization finished */+(void)initializeWithSettings:(nullableFBAdInitSettings*)settingscompletionHandler:(nullablevoid(^)(FBAdInitResults*results))completionHandler;@end
Swift
classFBAudienceNetworkAds:NSObject
Undocumented
- Initialize Audience Network SDK at any given point of time. It will be called automatically with default settigs when you first touch AN related code otherwise.
Declaration
Objective-C+(void)initializeWithSettings:(nullableFBAdInitSettings*)settingscompletionHandler:(nullablevoid(^)(FBAdInitResults*_Nonnull))completionHandler;
Swiftclassfuncinitialize(withsettings:FBAdInitSettings?,completionHandler:((FBAdInitResults)->Void)?=nil)
Parameters