Log In
You can then view all documents
Installation/iOS/Global configuration
Global configuration
Last updated 2022-01-19 22:37:51

Global configuration


-Since the brand has been upgraded from the version of the SDK, the prefix WM has been replaced with BU (Bytedance Union). If the SDK needs to be upgraded, it will be replaced in a unified manner during hard access.
-The BUAdSDKManager class is the entry and interface for the entire SDK settings. It can set some global information of the SDK and provide class methods to obtain the setting results.
-setIsPaidApp: and setUserKeywords: can be passed in only after obtaining the user's consent.
-With SDK version 3400 and above, any advertisement type does not support changing the agency midway. Changing the agency midway will result in not receiving advertisement-related callbacks. If there is a mid-way change of the agency scene, you need to handle the relevant logic yourself to ensure the normal execution of the advertisement-related callbacks.

Interface Description

The interface currently provides the following methods:


Usage details

SDK needs methods in AppDelegate-
(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

The seAppID setting is required:


For more usage methods, please refer to the SDK Demo project

Log output description


Coppa Instructions


Custom IDFA description


Ad skip setting

All the rootViewController's in the advertising interface are mandatory items, which are used to handle advertising jumps. All jumps in the SDK use the present method. Please ensure that the incoming rootViewController cannot be empty and no other controllers are presented, otherwise the presentedViewController will already exist and the presentation will fail.

Privacy Agreement

The coppa value can be customized to identify whether this advertisement needs to follow the children's online privacy protection regulations. GDPR can choose
+ (void)openGDPRPrivacyFromRootViewController:(UIViewController *)rootViewController confirm:(BUConfirmGDPR)confirm;
Method to pop up the selection box of whether to follow the privacy protocol. You can also customize the GDPR to identify whether this advertisement complies with the EU General Data Protection Regulations.


Night mode

Starting from version 3600, CSJ supports developers to set the function of night mode when using templates to render information flow & interstitial & banner ads:


Contact us